fix but failed
This commit is contained in:
parent
03cf265eff
commit
e2fb33bdc5
20 changed files with 74 additions and 98 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Reference in a new issue