Fixed doSend arguments
This commit is contained in:
@ -16,7 +16,7 @@ const useRemoveAnnouncement = (close: () => void) => {
|
||||
)
|
||||
|
||||
const doSendWithClose = useCallback(async (id: number) => {
|
||||
await doSend({
|
||||
await doSend({}, {
|
||||
body: JSON.stringify({
|
||||
id
|
||||
})
|
||||
|
Reference in New Issue
Block a user