hooks/useSCFetchUserProviders
Functions
useSCFetchUserProviders()
useSCFetchUserProviders(
object
):object
info
This custom hook is used to fetch the list of user providers.
Parameters
Parameter | Type | Description |
---|---|---|
object | object | * |
object.id | string | number | * |
object.providers ? | SCUserProviderAssociationType [] |
Returns
object
Member | Type |
---|---|
error | string |
scUserProviders | SCUserProviderAssociationType [] |
setSCUserProviders | Dispatch <SetStateAction <SCUserProviderAssociationType []>> |