diff --git a/web/lib/firebase/groups.ts b/web/lib/firebase/groups.ts index 40471eb4..1438dd4c 100644 --- a/web/lib/firebase/groups.ts +++ b/web/lib/firebase/groups.ts @@ -17,7 +17,7 @@ const groupCollection = collection(db, 'groups') export function groupPath( groupSlug: string, - subpath?: 'edit' | 'questions' | 'details' | 'chat' + subpath?: 'edit' | 'questions' | 'about' | 'chat' ) { return `/group/${groupSlug}${subpath ? `/${subpath}` : ''}` } diff --git a/web/pages/group/[...slugs]/index.tsx b/web/pages/group/[...slugs]/index.tsx index 593700f7..b2b758a1 100644 --- a/web/pages/group/[...slugs]/index.tsx +++ b/web/pages/group/[...slugs]/index.tsx @@ -94,7 +94,7 @@ async function toTopUsers(userScores: { [userId: string]: number }) { export async function getStaticPaths() { return { paths: [], fallback: 'blocking' } } -const groupSubpages = [undefined, 'chat', 'questions', 'details'] as const +const groupSubpages = [undefined, 'chat', 'questions', 'about'] as const export default function GroupPage(props: { group: Group | null @@ -177,7 +177,7 @@ export default function GroupPage(props: { ) - const detailsTab = ( + const aboutTab = (