From db9f4306270f2117fd9def8d3b4eeebef983471d Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Thu, 2 Aug 2018 21:35:43 +0900 Subject: Fix error on settings --- src/settings/reducers/setting.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/settings/reducers') 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, -- cgit v1.2.3