HandleUnenrollment
Function: handleUnenrollment()
[object Object]
Defined in: app/components/Activity/ActivityDetailsTile/ActivityDetailsTile.handlers.tsx:267
Removes the current user from an activity's enrollment list.
Parameters
authService
The authentication service instance.
activity
The activity from which to unenroll.
setActivity
[object Object]
State setter to update the activity's enrollment list locally.
setSubmitting
(submitting) => void
Callback to toggle loading state.
Returns
Promise<void>