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}
|
||||
|
||||
{/* Part's audio player */}
|
||||
{(!startNow && isBetweenParts) && memoizedRenderAudioPlayer}
|
||||
{!startNow && memoizedRenderAudioPlayer}
|
||||
|
||||
{/* Exercise renderer */}
|
||||
<>
|
||||
|
||||
@@ -36,7 +36,6 @@ export default function ExamPage({ page, user, destination = "/", hideSidebar =
|
||||
const [avoidRepeated, setAvoidRepeated] = useState(false);
|
||||
const [showAbandonPopup, setShowAbandonPopup] = useState(false);
|
||||
const [pendingExercises, setPendingExercises] = useState<string[]>([]);
|
||||
const [shouldPoll, setShouldPoll] = useState(false);
|
||||
|
||||
const {
|
||||
exam, setExam,
|
||||
|
||||
Reference in New Issue
Block a user