Merged develop into pdf-bullet-points

This commit is contained in:
João Ramos
2024-03-24 23:43:42 +00:00

View File

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