diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-01 02:31:55 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-01 02:31:55 +0800 |
commit | ad0129fa025012a6a8234db69ee4fa1763d5aff8 (patch) | |
tree | 8b9d8b10f1e4dd6ce6aacc02e27a2845414c5cdc /packages/instant/src | |
parent | 59118796394b3390966e9d87349ea28407810e1a (diff) | |
download | dexon-0x-contracts-ad0129fa025012a6a8234db69ee4fa1763d5aff8.tar.gz dexon-0x-contracts-ad0129fa025012a6a8234db69ee4fa1763d5aff8.tar.zst dexon-0x-contracts-ad0129fa025012a6a8234db69ee4fa1763d5aff8.zip |
Revert "Remove default in state reducer"
This reverts commit cc2719492d72602ecd1c503cf0ecee95cd05db33.
Diffstat (limited to 'packages/instant/src')
-rw-r--r-- | packages/instant/src/redux/reducer.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/instant/src/redux/reducer.ts b/packages/instant/src/redux/reducer.ts index a3f38c880..11980066b 100644 --- a/packages/instant/src/redux/reducer.ts +++ b/packages/instant/src/redux/reducer.ts @@ -187,6 +187,8 @@ export const reducer = (state: State = INITIAL_STATE, action: Action): State => buyOrderState: { processState: OrderProcessState.NONE }, selectedAssetAmount: undefined, }; + default: + return state; } }; |