diff --git a/plugins/catalog-react/src/components/EntityOwnerPicker/EntityOwnerPicker.tsx b/plugins/catalog-react/src/components/EntityOwnerPicker/EntityOwnerPicker.tsx index 305c81e29f..ecbdae1d63 100644 --- a/plugins/catalog-react/src/components/EntityOwnerPicker/EntityOwnerPicker.tsx +++ b/plugins/catalog-react/src/components/EntityOwnerPicker/EntityOwnerPicker.tsx @@ -93,10 +93,6 @@ export type EntityOwnerPickerProps = { mode?: 'owners-only' | 'all'; }; -const Popper = React.memo(function Popper({ children }: PopperProps) { - return
{children as ReactNode}
; -}); - function RenderOptionLabel(props: { entity: Entity; isSelected: boolean }) { const classes = useStyles(); const isGroup = props.entity.kind.toLocaleLowerCase('en-US') === 'group'; @@ -267,3 +263,7 @@ export const EntityOwnerPicker = (props?: EntityOwnerPickerProps) => { ); }; + +function Popper({ children }: PopperProps) { + return
{children as ReactNode}
; +}