Created the InteractiveSpeaking exercise

This commit is contained in:
Tiago Ribeiro
2023-09-19 00:57:36 +01:00
parent f5de8f5e10
commit 7cdff84d5e
9 changed files with 492 additions and 10 deletions

View File

@@ -130,6 +130,7 @@ export default function FillBlanks({
<div className="flex flex-col gap-4 mt-4 h-full mb-20">
{(!!currentBlankId || isDrawerShowing) && (
<WordsDrawer
key={currentBlankId}
blankId={currentBlankId}
words={words.map((word) => ({word, isDisabled: allowRepetition ? false : answers.map((x) => x.solution).includes(word)}))}
previouslySelectedWord={currentBlankId ? answers.find((x) => x.id === currentBlankId)?.solution : undefined}