Blanks Exercises were removing the blanks on the editor and text but not on solutions, added submit and preview to writing and reading
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Module } from "@/interfaces";
|
||||
import { defaultSectionSettings } from "../defaults";
|
||||
import { reorderExercises } from "../reorder/global";
|
||||
import { reorderModule } from "../reorder/global";
|
||||
import ExamEditorStore, { ModuleState } from "../types";
|
||||
|
||||
export type ModuleActions =
|
||||
@@ -97,7 +97,7 @@ export const moduleReducer = (
|
||||
...state,
|
||||
modules: {
|
||||
...state.modules,
|
||||
[currentModule]: reorderExercises(currentModuleState)
|
||||
[currentModule]: reorderModule(currentModuleState)
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user