diff --git a/frontend/src/pages/TrackPage/TrackDetails.tsx b/frontend/src/pages/TrackPage/TrackDetails.tsx index 5ca122f..391eb7e 100644 --- a/frontend/src/pages/TrackPage/TrackDetails.tsx +++ b/frontend/src/pages/TrackPage/TrackDetails.tsx @@ -37,10 +37,10 @@ export default function TrackDetails({track, isAuthor}) { )} - {track.duration == null && ( + {track.statistics?.duration != null && ( Duration - {formatDuration(track.duration || 1402)} + {formatDuration(track.statistics.duration)} )}