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/reducers/input.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/reducers/input.js') diff --git a/src/reducers/input.js b/src/reducers/input.js index 25ff1a3..eb7ff24 100644 --- a/src/reducers/input.js +++ b/src/reducers/input.js @@ -8,10 +8,12 @@ export default function reducer(state = defaultState, action = {}) { switch (action.type) { case actions.INPUT_KEY_PRESS: return Object.assign({}, state, { - keys: state.keys.concat([{ - code: action.code, - ctrl: action.ctrl - }]) + keys: state.keys.concat([ + { + code: action.code, + ctrl: action.ctrl + } + ]) }); case actions.INPUT_CLEAR_KEYS: return Object.assign({}, state, { -- cgit v1.2.3