Reorder navbar options

This commit is contained in:
Austin Chen 2022-02-23 00:24:39 -08:00
parent cb7c8ba7c2
commit 9b98c6f300

View File

@ -34,10 +34,6 @@ function getNavigationOptions(
name: 'Home', name: 'Home',
href: user ? '/home' : '/', href: user ? '/home' : '/',
}, },
{
name: `Your profile`,
href: `/${user?.username}`,
},
...(mobile ...(mobile
? [ ? [
{ {
@ -50,6 +46,10 @@ function getNavigationOptions(
}, },
] ]
: []), : []),
{
name: `Your profile`,
href: `/${user?.username}`,
},
{ {
name: 'Your trades', name: 'Your trades',
href: '/trades', href: '/trades',