🎥 Make videos programmatically with React
Update format-seconds.ts
Jonny Burger72d92972103b
diff --git a/packages/convert/app/lib/format-seconds.ts b/packages/convert/app/lib/format-seconds.tsindex 9d7a043903..3110543b2e 100644--- a/packages/convert/app/lib/format-seconds.ts+++ b/packages/convert/app/lib/format-seconds.ts@@ -1,6 +1,6 @@export const formatSeconds = (seconds: number) => {const minutes = Math.floor(seconds / 60);- const secondsLeft = Math.round(seconds % 60);+ const secondsLeft = Math.floor(seconds % 60);return `${minutes}:${secondsLeft < 10 ? '0' : ''}${secondsLeft} min`;};