Hide "Get M$" on private instances

This commit is contained in:
Austin Chen 2022-06-14 02:08:55 -07:00
parent 6f789c9363
commit ba39eb114c

View File

@ -47,7 +47,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 }]),
] ]
} }
@ -104,7 +106,9 @@ const signedOutMobileNavigation = [
] ]
const signedInMobileNavigation = [ const signedInMobileNavigation = [
{ name: 'Get M$', href: '/add-funds', icon: CashIcon }, ...(IS_PRIVATE_MANIFOLD
? []
: [{ name: 'Get M$', href: '/add-funds', icon: CashIcon }]),
...signedOutMobileNavigation, ...signedOutMobileNavigation,
] ]