From d8511f4ad3bc3a326de7f7af2fb8703d5f471e36 Mon Sep 17 00:00:00 2001
From: Elizabeth Hunt
Date: Sun, 2 Mar 2025 16:32:01 -0700
Subject: run prettier
---
src/components/GameCanvas.tsx | 4 +++-
src/components/Title.tsx | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
(limited to 'src/components')
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();
// 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) => {
- 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.
--
cgit v1.2.3-70-g09d2