Fix error on settings
This commit is contained in:
parent
ab9183f575
commit
db9f430627
3 changed files with 8 additions and 6 deletions
|
@ -14,11 +14,10 @@ export default function reducer(state = defaultState, action = {}) {
|
|||
source: action.source,
|
||||
json: action.json,
|
||||
form: action.form,
|
||||
errors: '',
|
||||
error: '', };
|
||||
case actions.SETTING_SHOW_ERROR:
|
||||
return { ...state,
|
||||
error: action.text,
|
||||
error: action.error,
|
||||
json: action.json, };
|
||||
case actions.SETTING_SWITCH_TO_FORM:
|
||||
return { ...state,
|
||||
|
|
Reference in a new issue