From bb844de6a8acdbc5d4fbffbd74daa54e6dd19efe Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 8 Mar 2025 14:43:21 +0900 Subject: fix --- frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontend/app/components/GolfWatchApps/GolfWatchAppGaming1v1.tsx') 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"; -- cgit v1.2.3-70-g09d2