Hide "Get M$" on private instances

This commit is contained in:
Austin Chen 2022-06-14 02:08:55 -07:00
parent 0c9f1b1745
commit 1f67d90f84

View File

@ -48,7 +48,9 @@ function getNavigation(username: string) {
icon: NotificationsIcon, icon: NotificationsIcon,
}, },
{ name: 'Get M$', href: '/add-funds', icon: CashIcon }, ...(IS_PRIVATE_MANIFOLD
? []
: [{ name: 'Get M$', href: '/add-funds', icon: CashIcon }]),
] ]
} }
@ -102,7 +104,9 @@ const signedOutMobileNavigation = [
] ]
const mobileNavigation = [ const mobileNavigation = [
{ name: 'Get M$', href: '/add-funds', icon: CashIcon }, ...(IS_PRIVATE_MANIFOLD
? []
: [{ name: 'Get M$', href: '/add-funds', icon: CashIcon }]),
...signedOutMobileNavigation, ...signedOutMobileNavigation,
] ]