aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/routes/golf/play/App.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/routes/golf/play/App.tsx')
-rw-r--r--frontend/src/routes/golf/play/App.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/routes/golf/play/App.tsx b/frontend/src/routes/golf/play/App.tsx
index 0e650c9..b73830a 100644
--- a/frontend/src/routes/golf/play/App.tsx
+++ b/frontend/src/routes/golf/play/App.tsx
@@ -36,7 +36,7 @@ type WebSocketMessage =
};
};
-export default ({ gameId, playerId }: Props) => {
+export default function App({ gameId, playerId }: Props) {
// const socketUrl = `wss://t.nil.ninja/iosdc/2024/sock/golf/${gameId}/${playerId}/`;
const socketUrl = `ws://localhost:8002/sock/golf/${gameId}/${playerId}/`;
@@ -149,4 +149,4 @@ export default ({ gameId, playerId }: Props) => {
</div>
</div>
);
-};
+}