aboutsummaryrefslogtreecommitdiff
path: root/src/content/reducers/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/reducers/index.js')
-rw-r--r--src/content/reducers/index.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/content/reducers/index.js b/src/content/reducers/index.js
index 2487d85..c3a474e 100644
--- a/src/content/reducers/index.js
+++ b/src/content/reducers/index.js
@@ -14,11 +14,12 @@ const defaultState = {
};
export default function reducer(state = defaultState, action = {}) {
- return Object.assign({}, state, {
+ return {
+ ...state,
addon: addonReducer(state.addon, action),
find: findReducer(state.find, action),
setting: settingReducer(state.setting, action),
input: inputReducer(state.input, action),
followController: followControllerReducer(state.followController, action),
- });
+ };
}