diff --git a/src/components/AudioPlayer/index.tsx b/src/components/AudioPlayer/index.tsx index 16ff9a8..08a9ae0 100644 --- a/src/components/AudioPlayer/index.tsx +++ b/src/components/AudioPlayer/index.tsx @@ -98,7 +98,9 @@ export default function AudioPlayer({ src, className }: AudioPlayerProps) { -
{formatTime(duration)}
+
+ {formatTime(Math.max(duration - currentTime, 0))} +
) }