From de8f12d74faef5fa3f9e38d1340948cab2d06ea3 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Wed, 1 Jul 2020 13:33:31 +0200 Subject: Manually generate IDs --- frontend/src/shortcuts/keymap.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'frontend/src/shortcuts') diff --git a/frontend/src/shortcuts/keymap.js b/frontend/src/shortcuts/keymap.js index 7bc24e83..797340d7 100644 --- a/frontend/src/shortcuts/keymap.js +++ b/frontend/src/shortcuts/keymap.js @@ -1,10 +1,10 @@ const KeymapConfiguration = { - MAP: { - MOVE_LEFT: ["a", "left"], - MOVE_RIGHT: ["d", "right"], - MOVE_UP: ["w", "up"], - MOVE_DOWN: ["s", "down"] - } -}; + MAP: { + MOVE_LEFT: ['a', 'left'], + MOVE_RIGHT: ['d', 'right'], + MOVE_UP: ['w', 'up'], + MOVE_DOWN: ['s', 'down'], + }, +} -export default KeymapConfiguration; +export default KeymapConfiguration -- cgit v1.2.3