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

IAuthService

The authentication service instance.

activity

ActivityResponseDto

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>

On this page