diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-22 17:45:16 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-22 20:14:38 +0900 |
commit | c6eb5553d0477f96b5edd48012b4c4ab342f026c (patch) | |
tree | c782e23fab00da0dc0106a70a50813fee7acec72 /src/content/reducers/input.js | |
parent | 7639e99b755e372712dca36e077a85d9a025cd9f (diff) |
add setting actions in content
Diffstat (limited to 'src/content/reducers/input.js')
-rw-r--r-- | src/content/reducers/input.js | 7 |
1 files changed, 1 insertions, 6 deletions
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; } |