fix changing the balance infinitely (#362)

This commit is contained in:
Jonathan Rainville 2019-07-09 14:33:09 -04:00 committed by Richard Ramos
parent 31c305f02f
commit 2873c1cb52
1 changed files with 0 additions and 1 deletions

View File

@ -57,7 +57,6 @@ function reducer(state = DEFAULT_STATE, action) {
[action.token.symbol]: { [action.token.symbol]: {
...action.token, ...action.token,
balances: { balances: {
...state.tokens[action.token.symbol],
...state.tokens[action.token.symbol].balances, ...state.tokens[action.token.symbol].balances,
[action.address]: balance [action.address]: balance
} }