diff options
Diffstat (limited to 'src/background/reducers/index.js')
-rw-r--r-- | src/background/reducers/index.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/background/reducers/index.js b/src/background/reducers/index.js index dab0c62..5729f0a 100644 --- a/src/background/reducers/index.js +++ b/src/background/reducers/index.js @@ -1,12 +1,18 @@ import settingReducer from './setting'; +import findReducer from './find'; +import tabReducer from './tab'; // Make setting reducer instead of re-use const defaultState = { setting: settingReducer(undefined, {}), + find: findReducer(undefined, {}), + tab: tabReducer(undefined, {}), }; export default function reducer(state = defaultState, action = {}) { return Object.assign({}, state, { setting: settingReducer(state.setting, action), + find: findReducer(state.find, action), + tab: tabReducer(state.tab, action), }); } |