WA-232 remove token action
This commit is contained in:
parent
67c1559692
commit
043505183f
|
@ -0,0 +1,20 @@
|
|||
// @flow
|
||||
import { createAction } from 'redux-actions'
|
||||
import { type Token } from '~/routes/tokens/store/model/token'
|
||||
|
||||
export const REMOVE_TOKEN = 'REMOVE_TOKEN'
|
||||
|
||||
type RemoveTokenProps = {
|
||||
safeAddress: string,
|
||||
token: Token,
|
||||
}
|
||||
|
||||
const removeToken = createAction(
|
||||
REMOVE_TOKEN,
|
||||
(safeAddress: string, token: Token): RemoveTokenProps => ({
|
||||
safeAddress,
|
||||
token,
|
||||
}),
|
||||
)
|
||||
|
||||
export default removeToken
|
Loading…
Reference in New Issue