Hide Discord & About Page too

This commit is contained in:
Austin Chen 2022-03-01 17:30:49 -08:00
parent 064d7e4ccc
commit 5e4a205025

View File

@ -55,27 +55,32 @@ function getNavigationOptions(
name: 'Your trades',
href: '/trades',
},
// Disable "Add Funds" for teams
// Disable irrelevant menu options for teams.
...(IS_PRIVATE_MANIFOLD
? []
? [
{
name: 'Leaderboards',
href: '/leaderboards',
},
]
: [
{
name: 'Add funds',
href: '/add-funds',
},
{
name: 'Leaderboards',
href: '/leaderboards',
},
{
name: 'Discord',
href: 'https://discord.gg/eHQBNBqXuh',
},
{
name: 'About',
href: '/about',
},
]),
{
name: 'Leaderboards',
href: '/leaderboards',
},
{
name: 'Discord',
href: 'https://discord.gg/eHQBNBqXuh',
},
{
name: 'About',
href: '/about',
},
{
name: 'Sign out',
href: '#',