ENCOA-255 Fixed the level import
This commit is contained in:
@@ -8,7 +8,7 @@ import useExamEditorStore from '@/stores/examEditor';
|
||||
|
||||
const ImportOrFromScratch: React.FC<{
|
||||
module: Module;
|
||||
setNumberOfLevelParts: React.Dispatch<React.SetStateAction<number>>
|
||||
setNumberOfLevelParts: (parts: number) => void;
|
||||
}> = ({ module, setNumberOfLevelParts }) => {
|
||||
const { currentModule, dispatch } = useExamEditorStore();
|
||||
const { importing } = useExamEditorStore((store) => store.modules[currentModule])
|
||||
|
||||
Reference in New Issue
Block a user