aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-01 02:31:55 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-01 02:31:55 +0800
commitad0129fa025012a6a8234db69ee4fa1763d5aff8 (patch)
tree8b9d8b10f1e4dd6ce6aacc02e27a2845414c5cdc /packages/instant/src
parent59118796394b3390966e9d87349ea28407810e1a (diff)
downloaddexon-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.ts2
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;
}
};