HandleAnnouncementSubmit

Function: handleAnnouncementSubmit()

[object Object]

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

Processes the announcement form submission for both creating and updating records.

Extracts data from the form event, determines the correct API method (POST vs PUT), and provides visual feedback using toast promises.

Parameters

args

[object Object]

Configuration object containing:

Returns

Promise<void>

Async

On this page