Show Leaderboards by default instead of Create

This commit is contained in:
Austin Chen 2022-01-20 01:42:31 -05:00
parent 584f0324b8
commit 5e473a2de4
2 changed files with 2 additions and 6 deletions

View File

@ -82,14 +82,14 @@ function NavOptions(props: { user: User | null; themeClasses: string }) {
</> </>
) : ( ) : (
<> <>
<Link href="/create"> <Link href="/leaderboards">
<a <a
className={clsx( className={clsx(
'text-base hidden md:block whitespace-nowrap', 'text-base hidden md:block whitespace-nowrap',
themeClasses themeClasses
)} )}
> >
Create a market Leaderboards
</a> </a>
</Link> </Link>

View File

@ -51,10 +51,6 @@ function getNavigationOptions(user: User, options: { mobile: boolean }) {
name: 'Your markets', name: 'Your markets',
href: `/${user.username}`, href: `/${user.username}`,
}, },
{
name: 'Leaderboards',
href: '/leaderboards',
},
{ {
name: 'Discord', name: 'Discord',
href: 'https://discord.gg/eHQBNBqXuh', href: 'https://discord.gg/eHQBNBqXuh',