aboutsummaryrefslogtreecommitdiff
path: root/src/content/reducers/addon.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/reducers/addon.ts')
-rw-r--r--src/content/reducers/addon.ts22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/content/reducers/addon.ts b/src/content/reducers/addon.ts
deleted file mode 100644
index 2131228..0000000
--- a/src/content/reducers/addon.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import * as actions from '../actions';
-
-export interface State {
- enabled: boolean;
-}
-
-const defaultState: State = {
- enabled: true,
-};
-
-export default function reducer(
- state: State = defaultState,
- action: actions.AddonAction,
-): State {
- switch (action.type) {
- case actions.ADDON_SET_ENABLED:
- return { ...state,
- enabled: action.enabled, };
- default:
- return state;
- }
-}