aboutsummaryrefslogtreecommitdiff
path: root/src/store
diff options
context:
space:
mode:
Diffstat (limited to 'src/store')
-rw-r--r--src/store/index.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/store/index.js b/src/store/index.js
index 2d08296..2fafdf1 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -24,7 +24,7 @@ class Store {
this.catcher(e, sender);
}
}
- return action
+ return action;
}
getState() {
@@ -46,6 +46,8 @@ class Store {
const empty = () => {};
-export function createStore(reducer, catcher = empty) {
+const createStore = (reducer, catcher = empty) => {
return new Store(reducer, catcher);
-}
+};
+
+export { createStore };