mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 12:30:12 +02:00
Fix delete on full playlist view
This commit is contained in:
+1
-1
@@ -262,7 +262,7 @@ export const PlaylistDetailSongListHeaderFilters = ({
|
||||
const handleDeletePlaylist = useCallback(() => {
|
||||
if (!detailQuery.data) return;
|
||||
deletePlaylistMutation?.mutate(
|
||||
{ query: { id: detailQuery.data.id }, serverId: detailQuery.data.id },
|
||||
{ query: { id: detailQuery.data.id }, serverId: detailQuery.data.serverId },
|
||||
{
|
||||
onError: (err) => {
|
||||
toast.error({
|
||||
|
||||
Reference in New Issue
Block a user