Skip to content

Commit a031f1a

Browse files
committed
Fix sorting of sources
1 parent 479cf8c commit a031f1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/SongsColumn.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { Set, Source, Tape } from '../types';
99
import Column from './Column';
1010
import Row from './Row';
1111
import RowHeader from './RowHeader';
12+
import { sortSources } from '@/lib/sortSources';
1213

1314
const getSetTime = (set: Set): string =>
1415
durationToHHMMSS(
@@ -59,7 +60,7 @@ export const useSourceData = ({
5960
isActiveSourcePlaying: activeSourceObj?.id === activePlaybackSourceId,
6061
displayDate,
6162
activeSourceObj,
62-
sourcesData: show?.sources ?? [],
63+
sourcesData: sortSources(show?.sources ?? []),
6364
};
6465
};
6566

0 commit comments

Comments
 (0)