aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-08 14:43:21 +0900
committernsfisis <nsfisis@gmail.com>2025-03-08 14:43:21 +0900
commitbb844de6a8acdbc5d4fbffbd74daa54e6dd19efe (patch)
tree168bd54e71a4d533bf3b2a9c5edb6c841503c06f /frontend
parent9e9e7e685e04d6baac13906c0dd0aa2afd59eefc (diff)
downloadiosdc-japan-2025-albatross-bb844de6a8acdbc5d4fbffbd74daa54e6dd19efe.tar.gz
iosdc-japan-2025-albatross-bb844de6a8acdbc5d4fbffbd74daa54e6dd19efe.tar.zst
iosdc-japan-2025-albatross-bb844de6a8acdbc5d4fbffbd74daa54e6dd19efe.zip
fix
Diffstat (limited to 'frontend')
-rw-r--r--frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx b/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx
index 226e1e2..ec18bbc 100644
--- a/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx
+++ b/frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx
@@ -30,11 +30,11 @@ export default function GolfWatchAppGaming1v1({
const leftTimeSeconds = useAtomValue(gamingLeftTimeSecondsAtom)!;
const latestGameStates = useAtomValue(latestGameStatesAtom);
- const stateA = latestGameStates[playerProfileA.id];
+ const stateA = latestGameStates[`${playerProfileA.id}`];
const codeA = stateA?.code ?? "";
const scoreA = stateA?.score ?? null;
const statusA = stateA?.status ?? "none";
- const stateB = latestGameStates[playerProfileB.id];
+ const stateB = latestGameStates[`${playerProfileB.id}`];
const codeB = stateB?.code ?? "";
const scoreB = stateB?.score ?? null;
const statusB = stateB?.status ?? "none";