aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/routes/golf.$gameId.watch.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-31 22:20:35 +0900
committernsfisis <nsfisis@gmail.com>2024-07-31 22:20:35 +0900
commit4aff0feca72da0175dcecb44aca9b3e30c861bc5 (patch)
tree253a3094f3606682982b91b9be7a03f1e4b3f723 /frontend/app/routes/golf.$gameId.watch.tsx
parent715651d6d263c5f526e8e13a8e2bb032193c5218 (diff)
parent3840c6d8e4261f182657b11ba55f61da04d70b28 (diff)
downloadphperkaigi-2025-albatross-4aff0feca72da0175dcecb44aca9b3e30c861bc5.tar.gz
phperkaigi-2025-albatross-4aff0feca72da0175dcecb44aca9b3e30c861bc5.tar.zst
phperkaigi-2025-albatross-4aff0feca72da0175dcecb44aca9b3e30c861bc5.zip
Merge branch 'feat/admin-games-page'
Diffstat (limited to 'frontend/app/routes/golf.$gameId.watch.tsx')
-rw-r--r--frontend/app/routes/golf.$gameId.watch.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/app/routes/golf.$gameId.watch.tsx b/frontend/app/routes/golf.$gameId.watch.tsx
index eeb6fb9..da7baf1 100644
--- a/frontend/app/routes/golf.$gameId.watch.tsx
+++ b/frontend/app/routes/golf.$gameId.watch.tsx
@@ -35,7 +35,7 @@ export async function loader({ params, request }: LoaderFunctionArgs) {
if (error) {
throw new Error(error.message);
}
- return data;
+ return data.game;
};
const fetchSockToken = async () => {