From 48d3cfe5f8c673f0de19284504e5b55641adcb89 Mon Sep 17 00:00:00 2001 From: Carlos-Mesquita Date: Tue, 26 Nov 2024 17:19:01 +0000 Subject: [PATCH] Removed the used words check from fillBlanks since allow repetition wasn't implemented and messes up imports --- .../ExamEditor/Exercises/Blanks/Letters/FillBlanksWord.tsx | 4 ---- .../ExamEditor/Exercises/Blanks/Letters/index.tsx | 6 ------ 2 files changed, 10 deletions(-) diff --git a/src/components/ExamEditor/Exercises/Blanks/Letters/FillBlanksWord.tsx b/src/components/ExamEditor/Exercises/Blanks/Letters/FillBlanksWord.tsx index 0919cf50..8349bdc5 100644 --- a/src/components/ExamEditor/Exercises/Blanks/Letters/FillBlanksWord.tsx +++ b/src/components/ExamEditor/Exercises/Blanks/Letters/FillBlanksWord.tsx @@ -4,7 +4,6 @@ interface Props { letter: string; word: string; isSelected: boolean; - isUsed: boolean; onClick: () => void; onRemove?: () => void; onEdit?: (newWord: string) => void; @@ -15,7 +14,6 @@ const FillBlanksWord: React.FC = ({ letter, word, isSelected, - isUsed, onClick, onRemove, onEdit, @@ -36,10 +34,8 @@ const FillBlanksWord: React.FC = ({ ) : (