aboutsummaryrefslogtreecommitdiff
path: root/src/content/store
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/store')
-rw-r--r--src/content/store/index.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/content/store/index.ts b/src/content/store/index.ts
new file mode 100644
index 0000000..5c41744
--- /dev/null
+++ b/src/content/store/index.ts
@@ -0,0 +1,8 @@
+import promise from 'redux-promise';
+import reducers from '../reducers';
+import { createStore, applyMiddleware } from 'redux';
+
+export const newStore = () => createStore(
+ reducers,
+ applyMiddleware(promise),
+);