Skip to content

Commit

Permalink
change to manage clubs
Browse files Browse the repository at this point in the history
  • Loading branch information
nl32 committed Jun 11, 2024
1 parent 851ee9d commit 1607a8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/constants/categories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {

export const mainCats = ['Home', 'My Community', 'Events'] as const;
export const moreCats = ['About', 'Feedback'] as const;
export const personalCats = ['Your Clubs', 'Admin'] as const;
export const personalCats = ['Manage Clubs', 'Admin'] as const;

export type allCats =
| (typeof mainCats)[number]
Expand All @@ -24,7 +24,7 @@ export const IconMap: {
Events: EventsIcon,
About: AboutIcon,
Feedback: FeedbackIcon,
'Your Clubs': HomeIcon,
'Manage Clubs': HomeIcon,
Admin: AdminIcon,
};

Expand All @@ -36,6 +36,6 @@ export const routeMap: {
Events: '/events',
About: '/about',
Feedback: '/feedback',
'Your Clubs': '/manage',
'Manage Clubs': '/manage',
Admin: '/admin',
};
2 changes: 1 addition & 1 deletion src/server/api/routers/userMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const userMetadataRouter = createTRPCRouter({
),
})
) {
capabilites.push('Your Clubs');
capabilites.push('Manage Clubs');
}
if (
(
Expand Down

0 comments on commit 1607a8e

Please sign in to comment.