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
+5 -3
View File
@@ -46,9 +46,11 @@ export function AccountWallet(): ReactElement {
<Box mb={4}>
<Grid container direction="row" justifyContent="space-between" alignItems="center">
<Typography variant="h2">Wallet balance</Typography>
<SwarmButton onClick={onDeposit} iconType={Download}>
Top up wallet
</SwarmButton>
{isDesktop && (
<SwarmButton onClick={onDeposit} iconType={Download}>
Top up wallet
</SwarmButton>
)}
</Grid>
</Box>
{balance && nodeAddresses ? (