aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Result
diff options
context:
space:
mode:
authorBrendan F <EpicWolverine@users.noreply.github.com>2023-05-14 23:28:28 -0700
committerBrendan F <EpicWolverine@users.noreply.github.com>2023-05-14 23:34:00 -0700
commit1f98794d0effbab6e58cd6d959e18d26019222e9 (patch)
treebdf75478902039b7c16f4ffb706517b6a975d10a /src/components/Result
parentb19215730e8f2f892b77ffcb348e07b6fa272286 (diff)
Add Perfect! for guessing in 1 try
Diffstat (limited to 'src/components/Result')
-rw-r--r--src/components/Result/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Result/index.tsx b/src/components/Result/index.tsx
index 8fa4323..b85094e 100644
--- a/src/components/Result/index.tsx
+++ b/src/components/Result/index.tsx
@@ -30,12 +30,12 @@ export function Result({
60
);
- const textForTry = ["Wow!", "Super!", "Congrats!", "Nice!"];
const copyResult = React.useCallback(() => {
navigator.clipboard.writeText(scoreToEmoji(guesses));
}, [guesses]);
if (didGuess) {
+ const textForTry = ["Perfect!", "Wow!", "Super!", "Congrats!", "Nice!"];
return (
<>
<Styled.ResultTitle>{textForTry[currentTry - 1]}</Styled.ResultTitle>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage