Skip to main content

Function: useTrustedEditors()

useTrustedEditors(params, options): UseQueryResult<OutputSchema, Error>

Defined in: web/lib/hooks/use-governance.ts:769

Fetches list of trusted editors (admin only).

Parameters​

params​

TrustedEditorListParams = {}

Query parameters

options​

UseGovernanceOptions = {}

Hook options

Returns​

UseQueryResult<OutputSchema, Error>

Query result with trusted editors

Example​

const { data } = useTrustedEditors({ role: 'trusted-editor', limit: 20 });