WA-238 Fix error on reducer not using action's payload property

This commit is contained in:
apanizo 2018-05-14 09:50:11 +02:00
parent 8b5aad2bd5
commit 725a9f6b13
1 changed files with 1 additions and 1 deletions

View File

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