From b70834311d37c0e71e33c2a82b7d863e896b66cc Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 8 Jun 2026 17:23:42 -0700 Subject: show indicator on button while submitting daily guess --- src/components/Game/index.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/components/Game') diff --git a/src/components/Game/index.tsx b/src/components/Game/index.tsx index 657b2af..8afa516 100644 --- a/src/components/Game/index.tsx +++ b/src/components/Game/index.tsx @@ -19,6 +19,7 @@ interface Props { guess: () => void; mode?: "daily" | "unlimited"; onPlayAgain?: () => void; + isSubmitting?: boolean; } function getUtcDate() { @@ -36,6 +37,7 @@ export function Game({ guess, mode = "daily", onPlayAgain, + isSubmitting = false, }: Props) { const recentFinishedPlay = localStorage.getItem("recentFinishedPlay"); const hasFinishedCurrentRound = didGuess || currentTry >= guesses.length; @@ -110,12 +112,14 @@ export function Game({ -- cgit v1.2.3