From 4e699ecd772aa834e9a7193559fbd2fd269040d7 Mon Sep 17 00:00:00 2001 From: Igor Escalona Date: Mon, 30 Sep 2024 21:28:21 -0400 Subject: [PATCH] Fix format --- src/lib/utils-library.ts | 4 ++-- src/views/ViewTrackDetails.tsx | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/utils-library.ts b/src/lib/utils-library.ts index e886f90e2..372da6faa 100644 --- a/src/lib/utils-library.ts +++ b/src/lib/utils-library.ts @@ -122,8 +122,8 @@ export function getSortOrder(sortBy: SortBy): SortConfig { } /** - * Formats the track's duration from seconds to hh:mm:ss - */ + * Formats the track's duration from seconds to hh:mm:ss + */ export function formatDuration(seconds: number) { return new Date(seconds * 1000).toISOString().substring(11, 19); } \ No newline at end of file diff --git a/src/views/ViewTrackDetails.tsx b/src/views/ViewTrackDetails.tsx index d4f7e33e0..bf8fccb19 100644 --- a/src/views/ViewTrackDetails.tsx +++ b/src/views/ViewTrackDetails.tsx @@ -17,7 +17,6 @@ import useInvalidate from '../hooks/useInvalidate'; import type { LoaderData } from '../types/museeks'; import appStyles from './Root.module.css'; import styles from './ViewTrackDetails.module.css'; -import type { LoaderData } from './router'; import { formatDuration } from '../lib/utils-library'; import Flexbox from '../elements/Flexbox/Flexbox';