FetchStudies

Function: fetchStudies()

[object Object]

Defined in: app/components/Study/ManageStudiesDatatable/ManageStudiesDatatable.handlers.tsx:14

Fetches the list of studies from the API and updates the provided state.

Parameters

setLoading

(loading) => void

State setter to track the loading status of the API request.

setStudies

Dispatch<SetStateAction<Study[]>>

State setter to update the list of study programs.

Returns

Promise<void>

Async

On this page