diff --git a/plugins/catalog-react/src/components/EntityRefLink/EntityRefLink.tsx b/plugins/catalog-react/src/components/EntityRefLink/EntityRefLink.tsx index 62be932f44..6496bc7f53 100644 --- a/plugins/catalog-react/src/components/EntityRefLink/EntityRefLink.tsx +++ b/plugins/catalog-react/src/components/EntityRefLink/EntityRefLink.tsx @@ -63,7 +63,6 @@ export type EntityRefLinkProps = { type PeekAheadPopoverProps = { popupState: PopupState; entityRef: CompoundEntityRef; - ref: ForwardedRef; }; const useStyles = makeStyles(() => { @@ -82,7 +81,6 @@ const useStyles = makeStyles(() => { export const PeekAheadPopover = ({ popupState, entityRef, - ref, }: PeekAheadPopoverProps) => { const catalogApi = useApi(catalogApiRef); const entityRoute = useRouteRef(entityRouteRef); @@ -198,17 +196,15 @@ export const EntityRefLink = forwardRef( ); const link = ( - <> - - {children} - {!children && (title ?? formattedEntityRefTitle)} - - + + {children} + {!children && (title ?? formattedEntityRefTitle)} + ); return ( @@ -220,7 +216,6 @@ export const EntityRefLink = forwardRef( )}