fix PostCSS crash: rename t variable inside $derived()

PlaylistDetailView used t as a callback variable inside $derived(),
which shadows the i18n t store and breaks Svelte CSS extraction
globally. Renamed to track.
This commit is contained in:
vicrodh committed 2026-02-06 00:44:41 -06:00
1 parent b6d2e10471
commit b38bac7833
1 file changed
+1 -1
@@ -198,7 +198,7 @@
// Total counts including local tracks // Total counts including local tracks
let totalTrackCount = $derived((playlist?.tracks_count ?? 0) + localTracks.length); let totalTrackCount = $derived((playlist?.tracks_count ?? 0) + localTracks.length);
let localTracksDuration = $derived(localTracks.reduce((sum, t) => sum + t.duration_secs, 0)); let localTracksDuration = $derived(localTracks.reduce((sum, track) => sum + track.duration_secs, 0));
let totalDuration = $derived((playlist?.duration ?? 0) + localTracksDuration); let totalDuration = $derived((playlist?.duration ?? 0) + localTracksDuration);
// Playlist suggestions: adaptive artist selection (quantity scales with playlist size, // Playlist suggestions: adaptive artist selection (quantity scales with playlist size,