Updated the clock of the Speaking timer
This commit is contained in:
@@ -80,11 +80,11 @@ export default function Speaking({id, title, text, type, prompts, onNext, onBack
|
||||
<>
|
||||
<div className="flex gap-4 items-center">
|
||||
<span className="text-xs w-9">
|
||||
{Math.round(recordingDuration / 60)
|
||||
{Math.floor(recordingDuration / 60)
|
||||
.toString(10)
|
||||
.padStart(2, "0")}
|
||||
:
|
||||
{Math.round(recordingDuration % 60)
|
||||
{Math.floor(recordingDuration % 60)
|
||||
.toString(10)
|
||||
.padStart(2, "0")}
|
||||
</span>
|
||||
|
||||
@@ -276,7 +276,6 @@ export default function Page() {
|
||||
onViewResults={() => {
|
||||
setShowSolutions(true);
|
||||
setModuleIndex(0);
|
||||
setExam(exams[0]);
|
||||
}}
|
||||
scores={aggregateScoresByModule(userSolutions)}
|
||||
/>
|
||||
|
||||
@@ -107,8 +107,8 @@ const moduleMarkings: {[key in Module]: {[key in Type]: {[key: number]: number}}
|
||||
general: writingMarking,
|
||||
},
|
||||
speaking: {
|
||||
academic: academicMarking,
|
||||
general: academicMarking,
|
||||
academic: writingMarking,
|
||||
general: writingMarking,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user