eslint fixes

This commit is contained in:
Germán Martínez 2019-04-29 13:15:07 +02:00
parent c78fa2fb29
commit 7be68f95de

View File

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