aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public/_redirects1
-rw-r--r--src/components/Game/index.tsx2
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" &&
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage