Function: useProfiles()
useProfiles(
params
?: {query
:QueryOptions
<ProfilesResponse
>; }):UseQueryResult
<ProfilesResponse
,Error
>
Get profiles
Parameters
Parameter | Type | Description |
---|---|---|
params ? | object | No required parameters. |
params.query ? | QueryOptions <ProfilesResponse > | See Tanstack Query - useQuery options. |
Returns
UseQueryResult
<ProfilesResponse
, Error
>
Example
const {
data,
isLoading,
isError,
error,
refetch,
...moreUseQueryResults
} = useProfiles();