diff options
Diffstat (limited to 'src/components/GameCanvas.tsx')
-rw-r--r-- | src/components/GameCanvas.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/GameCanvas.tsx b/src/components/GameCanvas.tsx index 98ba506..7d9e88f 100644 --- a/src/components/GameCanvas.tsx +++ b/src/components/GameCanvas.tsx @@ -13,7 +13,9 @@ export const GameCanvas = ({ width, height }: GameCanvasProps) => { const [game, setGame] = useState<TheAbstractionEngine>(); // TODO: go back to this after done // const [ready, setReady] = useState(false); - const [ready, setReady] = useState(document.location.hostname.includes("localhost")); + const [ready, setReady] = useState( + document.location.hostname.includes("localhost"), + ); const [loading, setLoading] = useState(true); useEffect(() => { |