From f65a9743287045eed3be98ed8e232444818cce02 Mon Sep 17 00:00:00 2001 From: Gourav More Date: Sun, 11 Feb 2024 23:01:31 +0530 Subject: [PATCH] Issue #0000: duplicate char issue --- src/pages/Test-Rig-Two/Story/SpellAndCheck.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/Test-Rig-Two/Story/SpellAndCheck.jsx b/src/pages/Test-Rig-Two/Story/SpellAndCheck.jsx index 156bb94..d5ee4fc 100644 --- a/src/pages/Test-Rig-Two/Story/SpellAndCheck.jsx +++ b/src/pages/Test-Rig-Two/Story/SpellAndCheck.jsx @@ -89,10 +89,10 @@ const SpellAndCheck = ({ return wordChars.map((char, index) => (
- matchedChars.includes(char) ? null : handleCharacterClick(index) + matchedChars[index] ? null : handleCharacterClick(index) } > {char} @@ -105,10 +105,10 @@ const SpellAndCheck = ({
- {matchedChars.includes(char) ? ( + {matchedChars[index] ? (
{char}
) : (