HandleDeleteAnnouncement

Function: handleDeleteAnnouncement()

[object Object]

Defined in: app/routes/edit-announcement/edit-announcement.handlers.tsx:126

Deletes an announcement from the system and redirects to the list view.

Parameters

id

[object Object]

The unique identifier of the announcement to be deleted.

setDeleting

(value) => void

State setter to track the deletion process.

[object Object]

Function to redirect the user after successful deletion.

Returns

Promise<void>

Async

On this page