Skip to content

Commit ac8bf04

Browse files
committed
refactor: remove TODO comment in song.util.ts and clarify intent for future shared utility migration
1 parent b4319ad commit ac8bf04

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

apps/backend/src/song/song.util.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { UPLOAD_CONSTANTS } from '@nbw/config';
22
import { SongWithUser } from '@nbw/database';
33
import { customAlphabet } from 'nanoid';
44

5-
// TODO: Move to shared
65
export const formatDuration = (totalSeconds: number) => {
76
const minutes = Math.floor(Math.ceil(totalSeconds) / 60);
87
const seconds = Math.ceil(totalSeconds) % 60;

0 commit comments

Comments
 (0)