Function: useMyEditorStatus()
useMyEditorStatus(
options):UseQueryResult<EditorStatus,Error>
Defined in: web/lib/hooks/use-governance.ts:689
Fetches the current user's editor status.
Parameters
options
UseGovernanceOptions = {}
Hook options
Returns
UseQueryResult<EditorStatus, Error>
Query result with editor status
Example
const { data: status } = useMyEditorStatus();
if (status?.role === 'trusted-editor') {
// Show delegation controls
}