mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-06 20:10:12 +02:00
Invalidate playlist song list on update (#248)
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user