diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-15 23:07:40 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-15 23:07:40 +0900 |
| commit | 172b6d3211d040e8d577afda80debce583c3bf7c (patch) | |
| tree | e62023aebb0924e8ad63c37e2d22f0a50a299eff /frontend/app/routes | |
| parent | c2e23841f446489c4d9b7d2b616f3de249159f5f (diff) | |
| download | phperkaigi-2025-albatross-172b6d3211d040e8d577afda80debce583c3bf7c.tar.gz phperkaigi-2025-albatross-172b6d3211d040e8d577afda80debce583c3bf7c.tar.zst phperkaigi-2025-albatross-172b6d3211d040e8d577afda80debce583c3bf7c.zip | |
feat(frontend): show loaing screen
Diffstat (limited to 'frontend/app/routes')
| -rw-r--r-- | frontend/app/routes/golf.$gameId.play.tsx | 2 | ||||
| -rw-r--r-- | frontend/app/routes/golf.$gameId.watch.tsx | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/frontend/app/routes/golf.$gameId.play.tsx b/frontend/app/routes/golf.$gameId.play.tsx index dc8eb38..1ffe45e 100644 --- a/frontend/app/routes/golf.$gameId.play.tsx +++ b/frontend/app/routes/golf.$gameId.play.tsx @@ -9,7 +9,6 @@ import { } from "../api/client"; import GolfPlayApp from "../components/GolfPlayApp"; import { - setCurrentTimestampAtom, setDurationSecondsAtom, setGameStartedAtAtom, setLatestGameStateAtom, @@ -50,7 +49,6 @@ export default function GolfPlay() { useLoaderData<typeof loader>(); useHydrateAtoms([ - [setCurrentTimestampAtom, undefined], [setDurationSecondsAtom, game.duration_seconds], [setGameStartedAtAtom, game.started_at ?? null], [setLatestGameStateAtom, gameState], diff --git a/frontend/app/routes/golf.$gameId.watch.tsx b/frontend/app/routes/golf.$gameId.watch.tsx index 674abc4..42bde52 100644 --- a/frontend/app/routes/golf.$gameId.watch.tsx +++ b/frontend/app/routes/golf.$gameId.watch.tsx @@ -11,7 +11,6 @@ import { import GolfWatchApp from "../components/GolfWatchApp"; import { rankingAtom, - setCurrentTimestampAtom, setDurationSecondsAtom, setGameStartedAtAtom, setLatestGameStatesAtom, @@ -60,7 +59,6 @@ export default function GolfWatch() { useHydrateAtoms([ [rankingAtom, ranking], - [setCurrentTimestampAtom, undefined], [setDurationSecondsAtom, game.duration_seconds], [setGameStartedAtAtom, game.started_at ?? null], [setLatestGameStatesAtom, gameStates], |
