Skip to main content

hooks/useSCFetchUserProviders

Functions

useSCFetchUserProviders()

useSCFetchUserProviders(object): object

info

This custom hook is used to fetch the list of user providers.

Parameters

ParameterTypeDescription
object{ id: string | number; providers: SCUserProviderAssociationType[]; }*
object.idstring | number*
object.providers?SCUserProviderAssociationType[]

Returns

object

NameType
errorstring
scUserProvidersSCUserProviderAssociationType[]
setSCUserProvidersDispatch<SetStateAction<SCUserProviderAssociationType[]>>