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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user