diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/instant/src/redux/reducer.ts | 2 | ||||
-rw-r--r-- | packages/instant/tslint.json | 3 |
2 files changed, 3 insertions, 2 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; } }; diff --git a/packages/instant/tslint.json b/packages/instant/tslint.json index d43ee8da7..08b76be97 100644 --- a/packages/instant/tslint.json +++ b/packages/instant/tslint.json @@ -3,7 +3,6 @@ "rules": { "custom-no-magic-numbers": false, "semicolon": [true, "always", "ignore-bound-class-methods"], - "max-classes-per-file": false, - "switch-default": false + "max-classes-per-file": false } } |