diff --git a/src/renderer/features/playlists/mutations/add-to-playlist-mutation.ts b/src/renderer/features/playlists/mutations/add-to-playlist-mutation.ts index 3f1b5eb4..01086dee 100644 --- a/src/renderer/features/playlists/mutations/add-to-playlist-mutation.ts +++ b/src/renderer/features/playlists/mutations/add-to-playlist-mutation.ts @@ -31,6 +31,9 @@ export const useAddToPlaylist = (args: MutationHookArgs) => { queryClient.invalidateQueries( queryKeys.playlists.detailSongList(serverId, variables.query.id), ); + queryClient.invalidateQueries( + queryKeys.playlists.songList(serverId, variables.query.id), + ); }, ...options, });