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 });