| export function formatTime(totalSeconds: number) { | |
| const m = Math.floor(totalSeconds / 60); | |
| const s = totalSeconds % 60; | |
| return `${m.toString().padStart(2, "0")}:${s.toString().padStart(2, "0")}`; | |
| } | |
| export function formatTime(totalSeconds: number) { | |
| const m = Math.floor(totalSeconds / 60); | |
| const s = totalSeconds % 60; | |
| return `${m.toString().padStart(2, "0")}:${s.toString().padStart(2, "0")}`; | |
| } | |