From 1f98794d0effbab6e58cd6d959e18d26019222e9 Mon Sep 17 00:00:00 2001
From: Brendan F <EpicWolverine@users.noreply.github.com>
Date: Sun, 14 May 2023 23:28:28 -0700
Subject: Add Perfect! for guessing in 1 try

---
 src/components/Result/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/Result/index.tsx')

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>
-- 
cgit v1.2.3

