aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/routes
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/routes')
-rw-r--r--frontend/app/routes/golf.$gameId.play.tsx2
-rw-r--r--frontend/app/routes/golf.$gameId.watch.tsx2
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],