diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-08-02 21:35:43 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-08-02 22:09:49 +0900 |
commit | db9f4306270f2117fd9def8d3b4eeebef983471d (patch) | |
tree | 77d2a7c185d8ef8bf456f4ba925415263d13921d /src/settings/reducers | |
parent | ab9183f575d6b220694006d9b155735eaeb275cd (diff) |
Fix error on settings
Diffstat (limited to 'src/settings/reducers')
-rw-r--r-- | src/settings/reducers/setting.js | 3 |
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, |