eslint fixes
This commit is contained in:
parent
c78fa2fb29
commit
7be68f95de
|
@ -36,11 +36,10 @@ const fetchTokenBalances = (safeAddress: string, tokens: List<Token>) => async (
|
|||
|
||||
try {
|
||||
const withBalances = await Promise.all(
|
||||
tokens
|
||||
.map(async token => TokenBalanceRecord({
|
||||
address: token.address,
|
||||
balance: await calculateBalanceOf(token.address, safeAddress, token.decimals),
|
||||
})),
|
||||
tokens.map(async token => TokenBalanceRecord({
|
||||
address: token.address,
|
||||
balance: await calculateBalanceOf(token.address, safeAddress, token.decimals),
|
||||
})),
|
||||
)
|
||||
|
||||
dispatch(updateSafe({ address: safeAddress, balances: List(withBalances) }))
|
||||
|
|
Loading…
Reference in New Issue