mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-27 18:04:52 +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 {
|
try {
|
||||||
const withBalances = await Promise.all(
|
const withBalances = await Promise.all(
|
||||||
tokens
|
tokens.map(async token => TokenBalanceRecord({
|
||||||
.map(async token => TokenBalanceRecord({
|
address: token.address,
|
||||||
address: token.address,
|
balance: await calculateBalanceOf(token.address, safeAddress, token.decimals),
|
||||||
balance: await calculateBalanceOf(token.address, safeAddress, token.decimals),
|
})),
|
||||||
})),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
dispatch(updateSafe({ address: safeAddress, balances: List(withBalances) }))
|
dispatch(updateSafe({ address: safeAddress, balances: List(withBalances) }))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user