fix: hide swap in standalone mode (#582)

This commit is contained in:
Cafe137
2022-11-14 11:15:40 +01:00
committed by GitHub
parent ec8fdf0315
commit 9a8520eb6f
@@ -46,9 +46,11 @@ export function AccountWallet(): ReactElement {
<Box mb={4}> <Box mb={4}>
<Grid container direction="row" justifyContent="space-between" alignItems="center"> <Grid container direction="row" justifyContent="space-between" alignItems="center">
<Typography variant="h2">Wallet balance</Typography> <Typography variant="h2">Wallet balance</Typography>
{isDesktop && (
<SwarmButton onClick={onDeposit} iconType={Download}> <SwarmButton onClick={onDeposit} iconType={Download}>
Top up wallet Top up wallet
</SwarmButton> </SwarmButton>
)}
</Grid> </Grid>
</Box> </Box>
{balance && nodeAddresses ? ( {balance && nodeAddresses ? (