From e3192acc54a65e7268783caaff42ec0b257dca72 Mon Sep 17 00:00:00 2001 From: Andrey Martynov Date: Mon, 17 Jun 2019 11:42:40 +0300 Subject: [PATCH] Hotfixed crash --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index b7c4894..02567d0 100644 --- a/src/index.js +++ b/src/index.js @@ -6,7 +6,7 @@ import { cloneDeep } from 'lodash'; import store from './stores' import * as game from './stores/game'; -import * as gameStates from './stores/game/gameState'; +import * as GameStates from './stores/game/gameState'; import App from './App'; import * as serviceWorker from './serviceWorker'; @@ -41,7 +41,7 @@ const onKeyUp = ({ code }) => { const onBlur = () => { keysWatcher.reset(); - if (getGameState() === gameStates.GAME_STATE_PLAYING) { + if (getGameState() === GameStates.GAME_STATE_PLAYING) { pauseGame(); } };