diff --git a/plugins/catalog-react/api-report.md b/plugins/catalog-react/api-report.md index 711e1935c1..bb19e2a5b8 100644 --- a/plugins/catalog-react/api-report.md +++ b/plugins/catalog-react/api-report.md @@ -285,7 +285,7 @@ export function EntityRefLinks(props: EntityRefLinksProps): JSX.Element; export type EntityRefLinksProps = { entityRefs: (string | Entity | CompoundEntityRef)[]; defaultKind?: string; - getTitle?: (cer: CompoundEntityRef) => string; + getTitle?: (cer: CompoundEntityRef) => string | undefined; } & Omit; // @public diff --git a/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx b/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx index b1a0c39558..cf18a2d643 100644 --- a/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx +++ b/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx @@ -26,7 +26,7 @@ import { LinkProps } from '@backstage/core-components'; export type EntityRefLinksProps = { entityRefs: (string | Entity | CompoundEntityRef)[]; defaultKind?: string; - getTitle?: (cer: CompoundEntityRef) => string; + getTitle?: (cer: CompoundEntityRef) => string | undefined; } & Omit; /**