diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-17 09:00:41 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-17 09:00:41 +0900 |
commit | cd4708898134f5966f87df4aeaa8ed8c60e7943f (patch) | |
tree | db082d9cb2ec426010556dbc24ab439c9757afbd /src/store/index.js | |
parent | c5529958d53146c8c6826673abe6431a19f1924d (diff) | |
parent | 9ae814dfe45426f8df9b89b305392770344a7d50 (diff) |
Merge branch 'lint'
Diffstat (limited to 'src/store/index.js')
-rw-r--r-- | src/store/index.js | 8 |
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 }; |