diff --git a/src/components/Exercises/FillBlanks/index.tsx b/src/components/Exercises/FillBlanks/index.tsx index 19439791..44f8d693 100644 --- a/src/components/Exercises/FillBlanks/index.tsx +++ b/src/components/Exercises/FillBlanks/index.tsx @@ -62,7 +62,8 @@ const FillBlanks: React.FC = ({ return solution.toLowerCase() === option.toLowerCase(); } else if ('letter' in option) { return solution.toLowerCase() === option.word.toLowerCase(); - } /*else if ('options' in option) { + } else if ('options' in option) { + /* if (shuffleMaps.length !== 0) { const shuffleMap = shuffleMaps.find((map) => map.id == x.id) if (!shuffleMap) { @@ -70,10 +71,10 @@ const FillBlanks: React.FC = ({ } const original = shuffleMap[x.solution as keyof typeof shuffleMap]; return solution.toLowerCase() === (option.options[original as keyof typeof option.options] || '').toLowerCase(); - } + }*/ return solution.toLowerCase() === (option.options[x.solution as keyof typeof option.options] || '').toLowerCase(); - }*/ + } return false; }).length;