fix changing the balance infinitely (#362)
This commit is contained in:
parent
31c305f02f
commit
2873c1cb52
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue