diff options
Diffstat (limited to 'src/content/reducers/index.js')
-rw-r--r-- | src/content/reducers/index.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content/reducers/index.js b/src/content/reducers/index.js index 7cf318e..ae4a845 100644 --- a/src/content/reducers/index.js +++ b/src/content/reducers/index.js @@ -1,10 +1,12 @@ import addonReducer from './addon'; +import settingReducer from './setting'; import inputReducer from './input'; import followReducer from './follow'; // Make setting reducer instead of re-use const defaultState = { addon: addonReducer(undefined, {}), + setting: settingReducer(undefined, {}), input: inputReducer(undefined, {}), follow: followReducer(undefined, {}), }; @@ -12,6 +14,7 @@ const defaultState = { export default function reducer(state = defaultState, action = {}) { return Object.assign({}, state, { addon: addonReducer(state.addon, action), + setting: settingReducer(state.setting, action), input: inputReducer(state.input, action), follow: followReducer(state.follow, action), }); |