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