Skip to main content

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();

See

API Documentation

Profile interface

Defined in

hooks.tsx:239