aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/routes/golf/watch/App.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-23 21:21:51 +0900
committernsfisis <nsfisis@gmail.com>2024-07-23 22:00:35 +0900
commit20c4d9e8ba120fefca3cc1e91119f55186cc793b (patch)
tree9e61703ed217b20d8439fab15afca68b20882c2f /frontend/src/routes/golf/watch/App.tsx
parent65227f15a4e92fdd7b2fabe5bac797f293da683e (diff)
downloadphperkaigi-2025-albatross-20c4d9e8ba120fefca3cc1e91119f55186cc793b.tar.gz
phperkaigi-2025-albatross-20c4d9e8ba120fefca3cc1e91119f55186cc793b.tar.zst
phperkaigi-2025-albatross-20c4d9e8ba120fefca3cc1e91119f55186cc793b.zip
frontend: format
Diffstat (limited to 'frontend/src/routes/golf/watch/App.tsx')
-rw-r--r--frontend/src/routes/golf/watch/App.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/routes/golf/watch/App.tsx b/frontend/src/routes/golf/watch/App.tsx
index b24833f..ac2db23 100644
--- a/frontend/src/routes/golf/watch/App.tsx
+++ b/frontend/src/routes/golf/watch/App.tsx
@@ -32,7 +32,7 @@ type WebSocketMessage =
};
};
-export default ({ gameId }: Props) => {
+export default function App({ gameId }: Props) {
// const socketUrl = `wss://t.nil.ninja/iosdc/2024/sock/golf/${gameId}/watch/`;
const socketUrl = `ws://localhost:8002/sock/golf/${gameId}/watch/`;
@@ -108,4 +108,4 @@ export default ({ gameId }: Props) => {
</div>
</div>
);
-};
+}