aboutsummaryrefslogtreecommitdiff
path: root/src/store/index.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-09-17 09:00:41 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-09-17 09:00:41 +0900
commitcd4708898134f5966f87df4aeaa8ed8c60e7943f (patch)
treedb082d9cb2ec426010556dbc24ab439c9757afbd /src/store/index.js
parentc5529958d53146c8c6826673abe6431a19f1924d (diff)
parent9ae814dfe45426f8df9b89b305392770344a7d50 (diff)
Merge branch 'lint'
Diffstat (limited to 'src/store/index.js')
-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 };