more strict lint
This commit is contained in:
parent
c5529958d5
commit
9ae814dfe4
21 changed files with 211 additions and 157 deletions
|
@ -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 };
|
||||
|
|
Reference in a new issue