middag-react
    Preparing search index...

    Function useEntityRoute

    • Resolve an entity type + ID to a URL. Returns null if the entity type is not in the contract's entities map.

      Returns (type: string, id: string | number) => string | null