fix tx reducer

This commit is contained in:
Mikhail Mikheev 2019-03-29 16:48:16 +04:00
parent 9781596be6
commit 15cb482c86

View File

@ -8,7 +8,7 @@ export const TRANSACTIONS_REDUCER_ID = 'transactions'
export type State = Map<string, List<Transaction>>
export default handleActions({
export default handleActions<State, *>({
[ADD_TRANSACTIONS]: (state: State, action: ActionType<typeof addTransactions>): State =>
action.payload,
}, Map())