From 9ae814dfe45426f8df9b89b305392770344a7d50 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 17 Sep 2017 08:59:12 +0900 Subject: more strict lint --- src/store/index.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/store/index.js') 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 }; -- cgit v1.2.3