ENCOA-307
This commit is contained in:
@@ -38,11 +38,7 @@ const SectionPicker: React.FC<Props> = ({
|
||||
const newValue = currentValue === value ? undefined : value;
|
||||
setSelectedValue(newValue);
|
||||
let update = {};
|
||||
if (module == "reading") {
|
||||
update = {
|
||||
text: undefined
|
||||
}
|
||||
} else {
|
||||
if (module === "listening") {
|
||||
if (state.audio?.source) {
|
||||
URL.revokeObjectURL(state.audio.source)
|
||||
}
|
||||
|
||||
@@ -15,10 +15,8 @@ import { usePersistentExamStore } from "@/stores/exam";
|
||||
import openDetachedTab from "@/utils/popout";
|
||||
import ListeningComponents from "./listening/components";
|
||||
import ReadingComponents from "./reading/components";
|
||||
import WritingComponents from "./writing/components";
|
||||
import SpeakingComponents from "./speaking/components";
|
||||
import SectionPicker from "./Shared/SectionPicker";
|
||||
import SettingsDropdown from "./Shared/SettingsDropdown";
|
||||
|
||||
|
||||
const LevelSettings: React.FC = () => {
|
||||
|
||||
Reference in New Issue
Block a user