Added announcement disposal:

Added ann details button
Added modal shown on its click
Moved trashbox selection there
Added trashboxes mock while testing in restricted area
This commit is contained in:
2023-08-01 18:23:56 +03:00
parent 47fca02858
commit b93ab9794d
15 changed files with 383 additions and 126 deletions

View File

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