Updated the clock of the Speaking timer

This commit is contained in:
Tiago Ribeiro
2023-07-21 12:41:44 +01:00
parent fea788bdc4
commit eae0a4ae4e
3 changed files with 4 additions and 5 deletions

View File

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