diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-01 00:25:18 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-01 00:25:18 +0800 |
commit | cc2719492d72602ecd1c503cf0ecee95cd05db33 (patch) | |
tree | 9f095c247a3f87a9c85fb8dc1eb0789e6958d989 /packages/instant/src/redux/reducer.ts | |
parent | d6755472087af76982779728db7424b1171a1b47 (diff) | |
download | dexon-sol-tools-cc2719492d72602ecd1c503cf0ecee95cd05db33.tar dexon-sol-tools-cc2719492d72602ecd1c503cf0ecee95cd05db33.tar.gz dexon-sol-tools-cc2719492d72602ecd1c503cf0ecee95cd05db33.tar.bz2 dexon-sol-tools-cc2719492d72602ecd1c503cf0ecee95cd05db33.tar.lz dexon-sol-tools-cc2719492d72602ecd1c503cf0ecee95cd05db33.tar.xz dexon-sol-tools-cc2719492d72602ecd1c503cf0ecee95cd05db33.tar.zst dexon-sol-tools-cc2719492d72602ecd1c503cf0ecee95cd05db33.zip |
Remove default in state reducer
This allows us to ensure that we explicitly handle every action type
Diffstat (limited to 'packages/instant/src/redux/reducer.ts')
-rw-r--r-- | packages/instant/src/redux/reducer.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/instant/src/redux/reducer.ts b/packages/instant/src/redux/reducer.ts index 11980066b..a3f38c880 100644 --- a/packages/instant/src/redux/reducer.ts +++ b/packages/instant/src/redux/reducer.ts @@ -187,8 +187,6 @@ export const reducer = (state: State = INITIAL_STATE, action: Action): State => buyOrderState: { processState: OrderProcessState.NONE }, selectedAssetAmount: undefined, }; - default: - return state; } }; |