diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/GameCanvas.tsx | 4 | ||||
-rw-r--r-- | src/components/Title.tsx | 4 |
2 files changed, 5 insertions, 3 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(() => { diff --git a/src/components/Title.tsx b/src/components/Title.tsx index 4bdc298..31e8140 100644 --- a/src/components/Title.tsx +++ b/src/components/Title.tsx @@ -18,8 +18,8 @@ export const Title = ({ setReady }: TitleProps) => { </p> <br /> <h3 className="warning"> - WASD/arrow keys to move. SPACE/ENTER to interact after highlighting - with the mouse. + WASD/arrow keys to move. SPACE/ENTER to interact after highlighting with + the mouse. </h3> <br /> |