Bugfix related to the listening audio
This commit is contained in:
@@ -178,7 +178,7 @@ const Listening: React.FC<ExamProps<ListeningExam>> = ({ exam, showSolutions = f
|
|||||||
{startNow && memoizedInstructions}
|
{startNow && memoizedInstructions}
|
||||||
|
|
||||||
{/* Part's audio player */}
|
{/* Part's audio player */}
|
||||||
{(!startNow && isBetweenParts) && memoizedRenderAudioPlayer}
|
{!startNow && memoizedRenderAudioPlayer}
|
||||||
|
|
||||||
{/* Exercise renderer */}
|
{/* Exercise renderer */}
|
||||||
<>
|
<>
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ export default function ExamPage({ page, user, destination = "/", hideSidebar =
|
|||||||
const [avoidRepeated, setAvoidRepeated] = useState(false);
|
const [avoidRepeated, setAvoidRepeated] = useState(false);
|
||||||
const [showAbandonPopup, setShowAbandonPopup] = useState(false);
|
const [showAbandonPopup, setShowAbandonPopup] = useState(false);
|
||||||
const [pendingExercises, setPendingExercises] = useState<string[]>([]);
|
const [pendingExercises, setPendingExercises] = useState<string[]>([]);
|
||||||
const [shouldPoll, setShouldPoll] = useState(false);
|
|
||||||
|
|
||||||
const {
|
const {
|
||||||
exam, setExam,
|
exam, setExam,
|
||||||
|
|||||||
Reference in New Issue
Block a user