mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-13 11:34:08 +00:00
updateSafe action in Load container #75
This commit is contained in:
parent
b0adbb0a49
commit
9a4c54671b
@ -1,12 +1,12 @@
|
||||
// @flow
|
||||
import addSafe from '~/routes/safe/store/actions/addSafe'
|
||||
import updateSafe from '~/routes/safe/store/actions/updateSafe'
|
||||
|
||||
export type AddSafe = typeof addSafe
|
||||
export type UpdateSafe = typeof updateSafe
|
||||
|
||||
export type Actions = {
|
||||
addSafe: typeof addSafe,
|
||||
updateSafe: typeof updateSafe,
|
||||
}
|
||||
|
||||
export default {
|
||||
addSafe,
|
||||
updateSafe,
|
||||
}
|
||||
|
@ -71,6 +71,7 @@ export default handleActions({
|
||||
|
||||
const safes = state.set(action.payload.address, safe)
|
||||
saveSafes(safes.toJSON())
|
||||
|
||||
return safes
|
||||
},
|
||||
}, Map())
|
||||
|
Loading…
x
Reference in New Issue
Block a user