Fix play album hook

This commit is contained in:
Lei Nelissen
2020-06-21 10:54:41 +02:00
parent 8309034a04
commit fabb6d3614

View File

@@ -17,7 +17,7 @@ export default function usePlayAlbum() {
const trackIds = album?.Tracks;
// GUARD: Check that the album actually has tracks
if (!album || !trackIds?.length || !tracks.length) {
if (!album || !trackIds?.length) {
return;
}