aboutsummaryrefslogtreecommitdiff
path: root/src/settings/reducers
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings/reducers')
-rw-r--r--src/settings/reducers/setting.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/settings/reducers/setting.js b/src/settings/reducers/setting.js
index 8e4a415..54033aa 100644
--- a/src/settings/reducers/setting.js
+++ b/src/settings/reducers/setting.js
@@ -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,