diff options
Diffstat (limited to 'src/settings/reducers/setting.js')
-rw-r--r-- | src/settings/reducers/setting.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings/reducers/setting.js b/src/settings/reducers/setting.js index 7f32f72..a61c09f 100644 --- a/src/settings/reducers/setting.js +++ b/src/settings/reducers/setting.js @@ -1,6 +1,7 @@ import actions from 'settings/actions'; const defaultState = { + source: '', json: '', value: {} }; @@ -9,6 +10,7 @@ export default function reducer(state = defaultState, action = {}) { switch (action.type) { case actions.SETTING_SET_SETTINGS: return { + source: action.source, json: action.json, value: action.value, }; |