From 172b6d3211d040e8d577afda80debce583c3bf7c Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 15 Mar 2025 23:07:40 +0900 Subject: feat(frontend): show loaing screen --- frontend/app/routes/golf.$gameId.play.tsx | 2 -- frontend/app/routes/golf.$gameId.watch.tsx | 2 -- 2 files changed, 4 deletions(-) (limited to 'frontend/app/routes') 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(); 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], -- cgit v1.2.3-70-g09d2