Clean up changeset and commented code
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user