diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-06-03 22:34:27 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-06-03 22:34:27 -0700 |
| commit | 44ace7e6b704d90b8e71906805cff07202ddf50b (patch) | |
| tree | e54f39682cdd4bc5411766f598d6c7df26a6dc04 | |
| parent | 72b18e3a7e71f81cc4308c6d0f4d4a24120aa947 (diff) | |
add redirects file
| -rw-r--r-- | public/_redirects | 1 | ||||
| -rw-r--r-- | src/components/Game/index.tsx | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 0000000..7797f7c --- /dev/null +++ b/public/_redirects @@ -0,0 +1 @@ +/* /index.html 200 diff --git a/src/components/Game/index.tsx b/src/components/Game/index.tsx index 902464b..cde682d 100644 --- a/src/components/Game/index.tsx +++ b/src/components/Game/index.tsx @@ -45,7 +45,7 @@ export function Game({ }: Props) { const [sessionDate] = React.useState(() => getUtcDate()); const recentFinishedPlay = localStorage.getItem("recentFinishedPlay"); - const hasFinishedCurrentRound = didGuess || currentTry >= guesses.length || (recentFinishedPlay === sessionDate && mode === "daily"); + const hasFinishedCurrentRound = didGuess || currentTry >= guesses.length; const isGameOver = hasFinishedCurrentRound; const isBlocked = mode === "daily" && |
