From 36851ae9f9d5035d6c509c113122b5fb485e6cf5 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Fri, 15 Jul 2022 00:45:50 -0500 Subject: [PATCH] Exclude more mobile options from private instances --- web/components/nav/sidebar.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/web/components/nav/sidebar.tsx b/web/components/nav/sidebar.tsx index f4abc6c7..1ff59275 100644 --- a/web/components/nav/sidebar.tsx +++ b/web/components/nav/sidebar.tsx @@ -110,9 +110,13 @@ const signedInMobileNavigation = [ function getMoreMobileNav() { return [ - { name: 'Send M$', href: '/links' }, - { name: 'Charity', href: '/charity' }, - { name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' }, + ...(IS_PRIVATE_MANIFOLD + ? [] + : [ + { name: 'Send M$', href: '/links' }, + { name: 'Charity', href: '/charity' }, + { name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' }, + ]), { name: 'Leaderboards', href: '/leaderboards' }, { name: 'Sign out',