aboutsummaryrefslogtreecommitdiff
path: root/src/background/index.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-16 21:48:41 +0900
committerGitHub <noreply@github.com>2017-10-16 21:48:41 +0900
commit33a97a0e8c18c099b23cd50a832242985837edca (patch)
tree73a15a1a39b41e0c42ea79a2d521d63865f83f06 /src/background/index.js
parent7ced514f83a69f557c19c1eb24ad792b3f2ace89 (diff)
parentcf3a1eaf16d7dd5c71de57901415fb147793aa56 (diff)
Merge pull request #61 from ueokande/multi-frame-following
Multi frame following
Diffstat (limited to 'src/background/index.js')
-rw-r--r--src/background/index.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/background/index.js b/src/background/index.js
index 6ba37eb..8a68767 100644
--- a/src/background/index.js
+++ b/src/background/index.js
@@ -1,7 +1,7 @@
import * as settingsActions from 'settings/actions/setting';
import messages from 'shared/messages';
import BackgroundComponent from 'background/components/background';
-import reducers from 'settings/reducers/setting';
+import reducers from 'background/reducers';
import { createStore } from 'shared/store';
const store = createStore(reducers, (e, sender) => {
@@ -13,9 +13,7 @@ const store = createStore(reducers, (e, sender) => {
});
}
});
+// eslint-disable-next-line no-unused-vars
const backgroundComponent = new BackgroundComponent(store);
-store.subscribe((sender) => {
- backgroundComponent.update(sender);
-});
store.dispatch(settingsActions.load());