eslint fixes

This commit is contained in:
Germán Martínez 2019-04-29 13:15:07 +02:00
parent c78fa2fb29
commit 7be68f95de
1 changed files with 4 additions and 5 deletions

View File

@ -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) }))