mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-13 03:24:09 +00:00
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…
x
Reference in New Issue
Block a user