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">
|
<div className="flex gap-4 items-center">
|
||||||
<span className="text-xs w-9">
|
<span className="text-xs w-9">
|
||||||
{Math.round(recordingDuration / 60)
|
{Math.floor(recordingDuration / 60)
|
||||||
.toString(10)
|
.toString(10)
|
||||||
.padStart(2, "0")}
|
.padStart(2, "0")}
|
||||||
:
|
:
|
||||||
{Math.round(recordingDuration % 60)
|
{Math.floor(recordingDuration % 60)
|
||||||
.toString(10)
|
.toString(10)
|
||||||
.padStart(2, "0")}
|
.padStart(2, "0")}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -276,7 +276,6 @@ export default function Page() {
|
|||||||
onViewResults={() => {
|
onViewResults={() => {
|
||||||
setShowSolutions(true);
|
setShowSolutions(true);
|
||||||
setModuleIndex(0);
|
setModuleIndex(0);
|
||||||
setExam(exams[0]);
|
|
||||||
}}
|
}}
|
||||||
scores={aggregateScoresByModule(userSolutions)}
|
scores={aggregateScoresByModule(userSolutions)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -107,8 +107,8 @@ const moduleMarkings: {[key in Module]: {[key in Type]: {[key: number]: number}}
|
|||||||
general: writingMarking,
|
general: writingMarking,
|
||||||
},
|
},
|
||||||
speaking: {
|
speaking: {
|
||||||
academic: academicMarking,
|
academic: writingMarking,
|
||||||
general: academicMarking,
|
general: writingMarking,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user