Fixed typo causing error displays in the console.log and added tabs as individual components for Family settings #515
@@ -46,7 +46,7 @@ const FamilySettings = () => {
|
||||
family_banner: <FamilyBanner />,
|
||||
};
|
||||
|
||||
const defaultTabComponent = Array(tabComponents)[0];
|
||||
const defaultTabComponent = Array(tabComponents)[0].add_family;
|
||||
|
||||
const selectedComponent = tabComponents[tab] || defaultTabComponent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user