From 8879e78728063e8f4244ca8bebcba58346794a18 Mon Sep 17 00:00:00 2001
From: Louis Capitanchik <contact@louiscap.co>
Date: Fri, 12 Jul 2019 11:12:19 +0100
Subject: [PATCH] await initial level tick

---
 src/App.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/App.js b/src/App.js
index 3094f0b..1853f6f 100644
--- a/src/App.js
+++ b/src/App.js
@@ -14,7 +14,7 @@ class App extends Component<{}> {
 
     async componentDidMount() {
         const levelData = await LevelData.from(testLevel)
-        levelData.tick()
+        await levelData.tick()
         this.setState({ levelData })
     }
 
-- 
GitLab