mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-27 01:50:44 +00:00
Remove old updateSafeName action
This commit is contained in:
parent
e14a9ae3d7
commit
ca50de5cb2
@ -1,10 +0,0 @@
|
||||
// @flow
|
||||
import updateSafeName from '~/routes/safe/store/actions/updateSafeName'
|
||||
|
||||
export type Actions = {
|
||||
updateSafeName: Function,
|
||||
}
|
||||
|
||||
export default {
|
||||
updateSafeName,
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
// @flow
|
||||
import type { Dispatch as ReduxDispatch } from 'redux'
|
||||
import { type GlobalState } from '~/store'
|
||||
import updateSafe from './updateSafe'
|
||||
|
||||
const updateSafeName = (safeAddress: string, safeName: string) => async (dispatch: ReduxDispatch<GlobalState>) => {
|
||||
dispatch(updateSafe({ address: safeAddress, name: safeName }))
|
||||
}
|
||||
|
||||
export default updateSafeName
|
Loading…
x
Reference in New Issue
Block a user