mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-27 01:50:44 +00:00
fix tx reducer
This commit is contained in:
parent
9781596be6
commit
15cb482c86
@ -8,7 +8,7 @@ export const TRANSACTIONS_REDUCER_ID = 'transactions'
|
|||||||
|
|
||||||
export type State = Map<string, List<Transaction>>
|
export type State = Map<string, List<Transaction>>
|
||||||
|
|
||||||
export default handleActions({
|
export default handleActions<State, *>({
|
||||||
[ADD_TRANSACTIONS]: (state: State, action: ActionType<typeof addTransactions>): State =>
|
[ADD_TRANSACTIONS]: (state: State, action: ActionType<typeof addTransactions>): State =>
|
||||||
action.payload,
|
action.payload,
|
||||||
}, Map())
|
}, Map())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user