diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-08-05 12:51:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-05 12:51:46 +0000 |
commit | 2795025d0a6b002ea68b4905f5d73c32e7773fc1 (patch) | |
tree | 88ed345092600796defe4ce98a31e9f755772026 /src/settings/reducers | |
parent | 8ea004f629021a0fb5fcbce9398f2cf2f952938a (diff) | |
parent | fddb4914ad3b126cb18395c30eca6be5805460c3 (diff) |
Merge pull request #444 from ueokande/qa-0.16
QA 0.16
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, |