HandleUnenrollParticipant

Function: handleUnenrollParticipant()

[object Object]

Defined in: app/components/Activity/Edit/EditParticipantsTile/EditParticipantsTile.handlers.tsx:126

Removes a participant from the local activity state after they have been unenrolled.

Parameters

memberId

[object Object]

The unique ID of the member to remove.

activity

ActivityResponseDto

The activity object to filter.

setActivity

Dispatch<SetStateAction<ActivityResponseDto | null>>

State setter to apply the updated enrollment list.

Returns

[object Object]

On this page