HandleDeleteEnrollment

Function: handleDeleteEnrollment()

[object Object]

Defined in: app/routes/admin/edit-member/edit-member.handlers.tsx:203

Removes a specific study enrollment record from the member's profile.

Parameters

id

[object Object]

The unique ID of the study enrollment to delete.

setLoading

(loading) => void

State setter to track the deletion request.

setEnrollments

Dispatch<SetStateAction<StudyEnrollmentResponseDto[]>>

State setter to update the local list of enrollments.

Returns

Promise<void>

Async

On this page