LoadGroups
Function: loadGroups()
[object Object]
Defined in: app/components/Activity/Edit/EditActivityForm/EditActivityForm.handlers.tsx:41
Fetches active association groups for the current membership year from the API.
Parameters
setLoading
(loading) => void
Callback to update the loading state.
setGroups
(groups) => void
Callback to update the state with the retrieved groups.
Returns
Promise<void>
A Promise that resolves when the groups are loaded or the request fails.