diff --git a/centrifuge-app/src/components/Menu/index.tsx b/centrifuge-app/src/components/Menu/index.tsx index 7237c6c5eb..9b0a7d0eb3 100644 --- a/centrifuge-app/src/components/Menu/index.tsx +++ b/centrifuge-app/src/components/Menu/index.tsx @@ -12,6 +12,7 @@ import { config } from '../../config' import { useAddress } from '../../utils/useAddress' import { useIsAboveBreakpoint } from '../../utils/useIsAboveBreakpoint' import { usePoolsThatAnyConnectedAddressHasPermissionsFor } from '../../utils/usePermissions' +import { useDebugFlags } from '../DebugFlags' import { RouterLinkButton } from '../RouterLinkButton' import { GovernanceMenu } from './GovernanceMenu' import { IssuerMenu } from './IssuerMenu' @@ -21,7 +22,9 @@ import { PoolLink } from './PoolLink' export function Menu() { const pools = usePoolsThatAnyConnectedAddressHasPermissionsFor() || [] const isLarge = useIsAboveBreakpoint('L') + const isXLarge = useIsAboveBreakpoint('XL') const address = useAddress('substrate') + const { showPortfolio } = useDebugFlags() return ( - - - Portfolio - + {showPortfolio && ( + + + Portfolio + + )} {(pools.length > 0 || config.poolCreationType === 'immediate') && (