aboutsummaryrefslogtreecommitdiff
path: root/src/content/reducers/input.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-22 17:45:16 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-22 20:14:38 +0900
commitc6eb5553d0477f96b5edd48012b4c4ab342f026c (patch)
treec782e23fab00da0dc0106a70a50813fee7acec72 /src/content/reducers/input.js
parent7639e99b755e372712dca36e077a85d9a025cd9f (diff)
add setting actions in content
Diffstat (limited to 'src/content/reducers/input.js')
-rw-r--r--src/content/reducers/input.js7
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;
}