mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20: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(
|
queryClient.invalidateQueries(
|
||||||
queryKeys.playlists.detailSongList(serverId, variables.query.id),
|
queryKeys.playlists.detailSongList(serverId, variables.query.id),
|
||||||
);
|
);
|
||||||
|
queryClient.invalidateQueries(
|
||||||
|
queryKeys.playlists.songList(serverId, variables.query.id),
|
||||||
|
);
|
||||||
},
|
},
|
||||||
...options,
|
...options,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user