LoadStudies
Function: loadStudies()
[object Object]
Defined in: app/components/Member/FilterMemberOverlay/FilterMemberOverlay.handlers.tsx:16
Fetches the list of available studies from the API.
Parameters
setLoading
(loading) => void
State setter to track the loading status.
setStudies
(studies) => void
State setter to store the retrieved array of Study objects.
Returns
Promise<void>
Async
loadStudies
Throws
Will display a toast notification and log to console if the API request fails.