Updated the ID of the matchSentences when generating

This commit is contained in:
Tiago Ribeiro
2024-03-25 00:47:03 +00:00
parent 6f5a74844c
commit 08e71c4dd8

View File

@@ -127,7 +127,7 @@ const ReadingGeneration = () => {
{type: "multipleChoice", label: "Multiple Choice"},
{type: "trueFalse", label: "True or False"},
{type: "writeBlanks", label: "Write the Blanks"},
{type: "paragraphMatch", label: "Match Sentences"},
{type: "matchSentences", label: "Match Sentences"},
];
const toggleType = (type: string) => setTypes((prev) => (prev.includes(type) ? [...prev.filter((x) => x !== type)] : [...prev, type]));