From 44fecff2f28bfcdb94807cf857185dfc278a3bd2 Mon Sep 17 00:00:00 2001 From: dekzter Date: Fri, 8 Aug 2025 09:40:02 -0400 Subject: [PATCH] return new object from store call --- frontend/src/store/playlists.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/store/playlists.jsx b/frontend/src/store/playlists.jsx index 1041c036..30d01906 100644 --- a/frontend/src/store/playlists.jsx +++ b/frontend/src/store/playlists.jsx @@ -31,6 +31,8 @@ const usePlaylistsStore = create((set) => ({ [id]: playlist.profiles, }, })); + + return playlist; } catch (error) { console.error('Failed to fetch playlists:', error); set({ error: 'Failed to load playlists.', isLoading: false });