Added address to dispose trashbox request

styling fixes
This commit is contained in:
2023-08-08 19:20:00 +03:00
parent d9925647c6
commit 864f5a040c
7 changed files with 34 additions and 31 deletions

View File

@ -4,7 +4,7 @@ import { useSendWithButton } from '..'
import { composeRemoveAnnouncementURL, processRemoveAnnouncement } from '../../api/removeAnnouncement'
import { isRemoveAnnouncementResponse } from '../../api/removeAnnouncement/types'
const useRemoveAnnouncement = (resolve: () => void) => {
function useRemoveAnnouncement(resolve: () => void) {
const { doSend, button } = useSendWithButton(
'Закрыть объявление',
'Закрыто',