diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-01-08 21:54:16 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-01-08 22:04:33 +0900 |
commit | 6083e70ea089fa2683741a1118be0e4e6b76f858 (patch) | |
tree | de282571884396e961a10cd447572c0fb1e370ea /src/background/components | |
parent | d23c190cad81ec2109f69b4afa957194d029caaf (diff) |
separate setting actions and reducers
Diffstat (limited to 'src/background/components')
-rw-r--r-- | src/background/components/background.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/background/components/background.js b/src/background/components/background.js index 2d94310..22c6693 100644 --- a/src/background/components/background.js +++ b/src/background/components/background.js @@ -1,6 +1,6 @@ import messages from 'shared/messages'; import * as operationActions from 'background/actions/operation'; -import * as settingsActions from 'settings/actions/setting'; +import * as settingActions from 'background/actions/setting'; import * as tabActions from 'background/actions/tab'; import * as commands from 'shared/commands'; @@ -46,7 +46,7 @@ export default class BackgroundComponent { case messages.CONSOLE_QUERY_COMPLETIONS: return commands.complete(message.text, settings.value); case messages.SETTINGS_RELOAD: - this.store.dispatch(settingsActions.load()); + this.store.dispatch(settingActions.load()); return this.broadcastSettingsChanged(); } } |