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 />
|
||||
</Avatar>
|
||||
<ListItemText primary="Balance" secondary="List of different token balances" />
|
||||
{ balances.count() > 0 &&
|
||||
<ListItemIcon>
|
||||
{open
|
||||
? <IconButton disableRipple><ExpandLess /></IconButton>
|
||||
: <IconButton disableRipple><ExpandMore /></IconButton>
|
||||
}
|
||||
</ListItemIcon>
|
||||
}
|
||||
<ListItemIcon>
|
||||
{open
|
||||
? <IconButton disableRipple><ExpandLess /></IconButton>
|
||||
: <IconButton disabled={balances.count() === 0} disableRipple><ExpandMore /></IconButton>
|
||||
}
|
||||
</ListItemIcon>
|
||||
</ListItem>
|
||||
<Collapse in={open} timeout="auto">
|
||||
<List component="div" disablePadding>
|
||||
|
|
|
@ -27,7 +27,7 @@ export const printOutApprove = async (
|
|||
console.log(`EO transaction executed ${await gnosisSafe.isExecuted(transactionHash)}`)
|
||||
}
|
||||
|
||||
const MAX_TIMES_EXECUTED = 20
|
||||
const MAX_TIMES_EXECUTED = 35
|
||||
const INTERVAL = 500
|
||||
type FinsihedTx = {
|
||||
finishedTransaction: boolean,
|
||||
|
|
Loading…
Reference in New Issue