From 1f98794d0effbab6e58cd6d959e18d26019222e9 Mon Sep 17 00:00:00 2001 From: Brendan F 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') 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 ( <> {textForTry[currentTry - 1]} -- cgit v1.2.3