Skip to main content

Function: useFieldAncestors()

useFieldAncestors(fieldUri, options): UseQueryResult<{ ancestors: AncestorPathItem[]; }, Error>

Defined in: web/lib/hooks/use-edges.ts:548

Fetches the ancestor path for an academic field.

Parameters

fieldUri

string

options

UseEdgeOptions = {}

Returns

UseQueryResult<{ ancestors: AncestorPathItem[]; }, Error>