diff options
author | Steve Klebanoff <steve@0xproject.com> | 2018-10-24 23:38:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 23:38:03 +0800 |
commit | 8635f8d7325d472dd7d4fac26f1a87bee17edd1a (patch) | |
tree | 5dbdd2c424a209e1120a019c94a84a4a28b3c776 /packages/instant/src/redux/actions.ts | |
parent | 4a72dc6c6f0825232d61e470f5b7975aec2e5c0e (diff) | |
parent | 4df8e60f42a372ae70f15cadbe1942ba27097f7a (diff) | |
download | dexon-0x-contracts-8635f8d7325d472dd7d4fac26f1a87bee17edd1a.tar.gz dexon-0x-contracts-8635f8d7325d472dd7d4fac26f1a87bee17edd1a.tar.zst dexon-0x-contracts-8635f8d7325d472dd7d4fac26f1a87bee17edd1a.zip |
Merge pull request #1170 from 0xProject/feature/instant/failure-state
[instant] Failure state
Diffstat (limited to 'packages/instant/src/redux/actions.ts')
-rw-r--r-- | packages/instant/src/redux/actions.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/instant/src/redux/actions.ts b/packages/instant/src/redux/actions.ts index 2c430ff83..f5946d707 100644 --- a/packages/instant/src/redux/actions.ts +++ b/packages/instant/src/redux/actions.ts @@ -31,6 +31,7 @@ export enum ActionTypes { SET_ERROR = 'SET_ERROR', HIDE_ERROR = 'HIDE_ERROR', CLEAR_ERROR = 'CLEAR_ERROR', + RESET_AMOUNT = 'RESET_AMOUNT', } export const actions = { @@ -45,4 +46,5 @@ export const actions = { setError: (error?: any) => createAction(ActionTypes.SET_ERROR, error), hideError: () => createAction(ActionTypes.HIDE_ERROR), clearError: () => createAction(ActionTypes.CLEAR_ERROR), + resetAmount: () => createAction(ActionTypes.RESET_AMOUNT), }; |