From c6eb5553d0477f96b5edd48012b4c4ab342f026c Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 22 Oct 2017 17:45:16 +0900 Subject: add setting actions in content --- src/content/reducers/input.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/content/reducers/input.js') diff --git a/src/content/reducers/input.js b/src/content/reducers/input.js index c79b206..9457604 100644 --- a/src/content/reducers/input.js +++ b/src/content/reducers/input.js @@ -1,8 +1,7 @@ import actions from 'content/actions'; const defaultState = { - keys: '', - keymaps: {}, + keys: '' }; export default function reducer(state = defaultState, action = {}) { @@ -15,10 +14,6 @@ export default function reducer(state = defaultState, action = {}) { return Object.assign({}, state, { keys: '', }); - case actions.INPUT_SET_KEYMAPS: - return Object.assign({}, state, { - keymaps: action.keymaps, - }); default: return state; } -- cgit v1.2.3