Function: useProfiles()
useProfiles(
params
?):QueryResult
<"profiles"
,Profile
[]>
Get profiles
Parameters
• params? = {}
No required parameters.
• params.query?: QueryOptions
<Profile
[]>
See Tanstack Query - useQuery options.
Returns
QueryResult
<"profiles"
, Profile
[]>
Example
const {
profiles, // useQuery's `data` property
isLoading,
isError,
error,
refetch,
...moreUseQueryResults
} = useProfiles();