Skip to content

Commit

Permalink
Invalidate playlist song list on update (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgarner7 authored Sep 20, 2023
1 parent d9049ed commit 487e9be
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down

1 comment on commit 487e9be

@vercel
Copy link

@vercel vercel bot commented on 487e9be Sep 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

feishin – ./

feishin-git-development-jeffvli.vercel.app
feishin-jeffvli.vercel.app
feishin.vercel.app

Please sign in to comment.