From fce29279863478f13473084aac20090f41a17421 Mon Sep 17 00:00:00 2001 From: MrDulfin Date: Mon, 24 Mar 2025 19:18:38 -0400 Subject: [PATCH] Updated Queue and Main View song keys to include random numbers to prevent duplicates --- src/App.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index c85e1d5..0dc4660 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -48,14 +48,14 @@ function App() { const unlisten = appWindow.listen("queue_updated", (_) => { // console.log(event); invoke('get_queue').then((_songs) => { - let songs = _songs as any[] + let songs = _songs as any[]; setQueue( songs.filter((_, i) => i != 0).map((song, i) => ) ) @@ -126,7 +126,7 @@ function PlaylistHead({ playlists, setPlaylists, setViewName, setLibrary }: Play // console.log(song); return (