aboutsummaryrefslogtreecommitdiff
path: root/src/content/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/index.js')
-rw-r--r--src/content/index.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/content/index.js b/src/content/index.js
index 97a8b30..d6743ce 100644
--- a/src/content/index.js
+++ b/src/content/index.js
@@ -1,10 +1,15 @@
import './console-frame.scss';
-import { createStore } from 'shared/store';
+import { createStore, applyMiddleware } from 'redux';
+import promise from 'redux-promise';
import reducers from 'content/reducers';
import TopContentComponent from './components/top-content';
import FrameContentComponent from './components/frame-content';
-const store = createStore(reducers);
+const store = createStore(
+ reducers,
+ applyMiddleware(promise),
+);
+
if (window.self === window.top) {
new TopContentComponent(window, store); // eslint-disable-line no-new