Fill Blanks changes
This commit is contained in:
@@ -63,7 +63,7 @@ const FillBlanksEdit = (props: Props) => {
|
||||
label={`Word ${index + 1}`}
|
||||
name="word"
|
||||
required
|
||||
value={typeof word === "string" ? word : word.word}
|
||||
value={typeof word === "string" ? word : ("word" in word ? word.word : "")}
|
||||
onChange={(value) =>
|
||||
updateExercise({
|
||||
words: exercise.words.map((sol, idx) =>
|
||||
|
||||
Reference in New Issue
Block a user