mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-11 18:44:07 +00:00
WA-232 Disable expand balance if no balances loaded
This commit is contained in:
parent
a64a6a0768
commit
4a4701c444
@ -41,14 +41,12 @@ const BalanceComponent = openHoc(({
|
|||||||
<AccountBalance />
|
<AccountBalance />
|
||||||
</Avatar>
|
</Avatar>
|
||||||
<ListItemText primary="Balance" secondary="List of different token balances" />
|
<ListItemText primary="Balance" secondary="List of different token balances" />
|
||||||
{ balances.count() > 0 &&
|
|
||||||
<ListItemIcon>
|
<ListItemIcon>
|
||||||
{open
|
{open
|
||||||
? <IconButton disableRipple><ExpandLess /></IconButton>
|
? <IconButton disableRipple><ExpandLess /></IconButton>
|
||||||
: <IconButton disableRipple><ExpandMore /></IconButton>
|
: <IconButton disabled={balances.count() === 0} disableRipple><ExpandMore /></IconButton>
|
||||||
}
|
}
|
||||||
</ListItemIcon>
|
</ListItemIcon>
|
||||||
}
|
|
||||||
</ListItem>
|
</ListItem>
|
||||||
<Collapse in={open} timeout="auto">
|
<Collapse in={open} timeout="auto">
|
||||||
<List component="div" disablePadding>
|
<List component="div" disablePadding>
|
||||||
|
@ -27,7 +27,7 @@ export const printOutApprove = async (
|
|||||||
console.log(`EO transaction executed ${await gnosisSafe.isExecuted(transactionHash)}`)
|
console.log(`EO transaction executed ${await gnosisSafe.isExecuted(transactionHash)}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
const MAX_TIMES_EXECUTED = 20
|
const MAX_TIMES_EXECUTED = 35
|
||||||
const INTERVAL = 500
|
const INTERVAL = 500
|
||||||
type FinsihedTx = {
|
type FinsihedTx = {
|
||||||
finishedTransaction: boolean,
|
finishedTransaction: boolean,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user