From 58123210ab4cdd4a1f2b4720a0abbd88908baa06 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 8 Oct 2017 14:44:21 +0900 Subject: separate settings --- src/reducers/setting.js | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/reducers/setting.js (limited to 'src/reducers/setting.js') diff --git a/src/reducers/setting.js b/src/reducers/setting.js deleted file mode 100644 index 7326ed7..0000000 --- a/src/reducers/setting.js +++ /dev/null @@ -1,17 +0,0 @@ -import actions from 'actions'; - -const defaultState = { - settings: {} -}; - -export default function reducer(state = defaultState, action = {}) { - switch (action.type) { - case actions.SETTING_SET_SETTINGS: - return Object.assign({}, state, { - settings: action.settings, - }); - default: - return state; - } -} - -- cgit v1.2.3