HandleActivitySubmit
Function: handleActivitySubmit()
[object Object]
Defined in: app/components/Activity/Edit/EditActivityForm/EditActivityForm.handlers.tsx:165
Handles the submission of the activity form, converting FormData into an API-compatible payload. Supports both creation and updates, manages file uploads (posters), and handles toast notifications.
Parameters
args
[object Object]
The submission arguments and state setters.
Returns
Promise<void>
A Promise that resolves after the submission and redirection.