fix: improper handling of undefined api leading to crashes

This commit is contained in:
Prayag Prajapati committed 2024-11-25 00:11:53 +05:30
1 parent c6b5d6a4a2
commit 81695a583d
9 files changed
+73 -67

No files matched your search

+1
View File
@@ -313,6 +313,7 @@ const PlayButton = ({
enqueueSnackbar("No item ID found", { variant: "error" });
return;
}
if (trackIndex) {
// Playlist Playback
enqueueSnackbar("Playlist playback is WIP", { variant: "info" });