From e2fb33bdc513385e9d71bc5b3d5068f7db9713d7 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Thu, 28 Jun 2018 20:44:57 +0900 Subject: fix but failed --- src/background/reducers/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/background/reducers/index.js') diff --git a/src/background/reducers/index.js b/src/background/reducers/index.js index 5729f0a..78f855c 100644 --- a/src/background/reducers/index.js +++ b/src/background/reducers/index.js @@ -10,9 +10,8 @@ const defaultState = { }; export default function reducer(state = defaultState, action = {}) { - return Object.assign({}, state, { + return { ...state, setting: settingReducer(state.setting, action), find: findReducer(state.find, action), - tab: tabReducer(state.tab, action), - }); + tab: tabReducer(state.tab, action), }; } -- cgit v1.2.3