Leftovers from the previous commit

This commit is contained in:
Carlos-Mesquita
2024-11-10 06:19:19 +00:00
parent 322d7905c3
commit 4219341951
9 changed files with 26 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ interface Props {
const GenerateBtn: React.FC<Props> = ({module, sectionId, genType, generateFnc, className}) => {
const section = useExamEditorStore((store) => store.modules[module].sections.find((s)=> s.sectionId == sectionId));
if (section === undefined) return;
if (section === undefined) return <></>;
const {generating} = section;