diff --git a/web/components/create-question-button.tsx b/web/components/create-question-button.tsx index f2371d11..277816fa 100644 --- a/web/components/create-question-button.tsx +++ b/web/components/create-question-button.tsx @@ -21,7 +21,7 @@ export const CreateQuestionButton = (props: { {user ? ( ) : ( diff --git a/web/lib/firebase/groups.ts b/web/lib/firebase/groups.ts index fc028642..5a031ca7 100644 --- a/web/lib/firebase/groups.ts +++ b/web/lib/firebase/groups.ts @@ -24,7 +24,7 @@ export function groupPath( groupSlug: string, subpath?: | 'edit' - | 'questions' + | 'markets' | 'about' | typeof GROUP_CHAT_SLUG | 'leaderboards' diff --git a/web/pages/create.tsx b/web/pages/create.tsx index 78ad8d19..1271730f 100644 --- a/web/pages/create.tsx +++ b/web/pages/create.tsx @@ -29,6 +29,7 @@ import { User } from 'common/user' import { TextEditor, useTextEditor } from 'web/components/editor' import { Checkbox } from 'web/components/checkbox' import { redirectIfLoggedOut } from 'web/lib/firebase/server-auth' +import { Title } from 'web/components/title' export const getServerSideProps = redirectIfLoggedOut('/') @@ -64,6 +65,8 @@ export default function Create() {
+ + <form> <div className="form-control w-full"> <label className="label"> diff --git a/web/pages/group/[...slugs]/index.tsx b/web/pages/group/[...slugs]/index.tsx index 90f39e83..06f043e7 100644 --- a/web/pages/group/[...slugs]/index.tsx +++ b/web/pages/group/[...slugs]/index.tsx @@ -109,7 +109,7 @@ export async function getStaticPaths() { const groupSubpages = [ undefined, GROUP_CHAT_SLUG, - 'questions', + 'markets', 'leaderboards', 'about', ] as const @@ -226,9 +226,9 @@ export default function GroupPage(props: { }, ]), { - title: 'Questions', + title: 'Markets', content: questionsTab, - href: groupPath(group.slug, 'questions'), + href: groupPath(group.slug, 'markets'), }, { title: 'Leaderboards',