import{G as n,H as o,ab as s,cm as a,I as m,J as r,b as u}from"./main-D6SjkSWq.js";function l(){return n({mutationFn:e=>i(e),onSuccess:(e,t)=>{s.invalidateQueries({queryKey:a.invalidateKey}),m(r("[one Comment deleted|other Deleted :count comments]",{values:{count:t.commentIds.length}}))},onError:e=>o(e)})}function i({commentIds:e}){return u.delete(`comment/${e.join(",")}`).then(t=>t.data)}export{l as u};
