Clean up changeset and commented code

Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
This commit is contained in:
Andre Wanlin
2022-03-30 08:16:04 -05:00
parent af1ee27a67
commit 494f97f2a4
2 changed files with 4 additions and 5 deletions
+4 -4
View File
@@ -18,10 +18,10 @@ To use MyGroupsSidebarItem you'll need to add it to your `Root.tsx` like this:
{/* Global nav, not org-specific */}
//...
<SidebarItem icon={HomeIcon} to="catalog" text="Home" />
+ <MyGroupsSidebarItem props={{
+ singularTitle: "My Squad",
+ pluralTitle: "My Squads",
+ icon: GroupIcon}}
+ <MyGroupsSidebarItem
+ singularTitle='My Squad'
+ pluralTitle='My Squads'
+ icon={GroupIcon}
+ />
//...
</SidebarGroup>
@@ -48,7 +48,6 @@ export const MyGroupsSidebarItem = ({
pluralTitle: string;
icon: IconComponent;
}) => {
// const { singularTitle, pluralTitle, icon } = props;
const identityApi = useApi(identityApiRef);
const catalogApi: CatalogApi = useApi(catalogApiRef);
const catalogEntityRoute = useRouteRef(entityRouteRef);