aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/routes/golf/watch/App.tsx
diff options
context:
space:
mode:
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>
);
-};
+}