Bugfix related to the listening audio

This commit is contained in:
Tiago Ribeiro
2024-12-31 15:47:26 +00:00
parent 26fa1691c4
commit af9f70880a
2 changed files with 2 additions and 3 deletions

View File

@@ -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 */}
<>

View File

@@ -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,