WA-238 Fix error on reducer not using action's payload property
This commit is contained in:
parent
8b5aad2bd5
commit
725a9f6b13
|
@ -48,5 +48,5 @@ export default handleActions({
|
|||
return safes
|
||||
},
|
||||
[UPDATE_DAILY_LIMIT]: (state: State, action: ActionType<typeof updateDailyLimit>): State =>
|
||||
state.updateIn([action.safeAddress, 'dailyLimit'], () => makeDailyLimit(action.dailyLimit)),
|
||||
state.updateIn([action.payload.safeAddress, 'dailyLimit'], () => makeDailyLimit(action.payload.dailyLimit)),
|
||||
}, Map())
|
||||
|
|
Loading…
Reference in New Issue