diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-06-06 01:55:27 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-06-06 01:55:27 -0700 |
| commit | 39f75924217a1e9987d97727124b19f7244192bb (patch) | |
| tree | 190e44cb9f72a5af41c0e9b9b929dc9b8bb7723b /src/pages/DailyPage.tsx | |
| parent | cfc9cd8c7770ddc8f151610acd177e54169e28d7 (diff) | |
implement stateless session guess checking
Diffstat (limited to 'src/pages/DailyPage.tsx')
| -rw-r--r-- | src/pages/DailyPage.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pages/DailyPage.tsx b/src/pages/DailyPage.tsx index 24ac20c..d1482b1 100644 --- a/src/pages/DailyPage.tsx +++ b/src/pages/DailyPage.tsx @@ -69,7 +69,13 @@ export function DailyPage() { didGuess, skip, guess, - } = useGameState({ solution: todaysSolution?.song ?? null, persist: true }); + } = useGameState({ + solution: todaysSolution?.song ?? null, + persist: true, + sessionDate: todaysSolution?.date, + sessionToken: todaysSolution?.sessionToken, + initialSig: todaysSolution?.initialSig, + }); const [isInfoPopUpOpen, setIsInfoPopUpOpen] = React.useState<boolean>(firstRun); |
