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/content/reducers/setting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/content/reducers/setting.js') diff --git a/src/content/reducers/setting.js b/src/content/reducers/setting.js index a23027f..a49db6d 100644 --- a/src/content/reducers/setting.js +++ b/src/content/reducers/setting.js @@ -8,7 +8,7 @@ const defaultState = { export default function reducer(state = defaultState, action = {}) { switch (action.type) { case actions.SETTING_SET: - return Object.assign({}, action.value); + return { ...action.value }; default: return state; } -- cgit v1.2.3