Show tracks sorted by index
This commit is contained in:
parent
9356383fe5
commit
5535197892
|
@ -173,6 +173,7 @@ export const Main = (props: {}) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
tracks.sort((l, r) => l.index - r.index);
|
||||||
|
|
||||||
// Action Handlers
|
// Action Handlers
|
||||||
const handleSelectClick = (event: React.MouseEvent, item: number) => {
|
const handleSelectClick = (event: React.MouseEvent, item: number) => {
|
||||||
|
|
Loading…
Reference in New Issue