diff options
| -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" && |
