Fixed doSend arguments

This commit is contained in:
2023-07-27 20:09:03 +03:00
parent 50c2b0a615
commit 0e5aeae491
5 changed files with 18 additions and 11 deletions

View File

@ -16,7 +16,7 @@ const useRemoveAnnouncement = (close: () => void) => {
)
const doSendWithClose = useCallback(async (id: number) => {
await doSend({
await doSend({}, {
body: JSON.stringify({
id
})