diff options
Diffstat (limited to 'src/actions/input.js')
-rw-r--r-- | src/actions/input.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/actions/input.js b/src/actions/input.js index c72b9e0..07948a1 100644 --- a/src/actions/input.js +++ b/src/actions/input.js @@ -1,15 +1,17 @@ import actions from '../actions'; -export function keyPress(code, ctrl) { +const keyPress = (code, ctrl) => { return { type: actions.INPUT_KEY_PRESS, code, ctrl }; -} +}; -export function clearKeys() { +const clearKeys = () => { return { type: actions.INPUT_CLEAR_KEYS - } -} + }; +}; + +export { keyPress, clearKeys }; |