diff options
author | Elizabeth Hunt <elizabeth@simponic.xyz> | 2025-03-02 16:32:01 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth@simponic.xyz> | 2025-03-02 16:32:01 -0700 |
commit | d8511f4ad3bc3a326de7f7af2fb8703d5f471e36 (patch) | |
tree | aaf7a91a60eb7436f0d00883cd54ecb90d703d8e /src/components | |
parent | 16eb0ad4d5d8b2ba915eae5190e6b0cfe8a1573c (diff) | |
download | the-abstraction-engine-d8511f4ad3bc3a326de7f7af2fb8703d5f471e36.tar.gz the-abstraction-engine-d8511f4ad3bc3a326de7f7af2fb8703d5f471e36.zip |
run prettier
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 /> |