Skip to content

Commit

Permalink
chore: cleanup wrongly removed type check
Browse files Browse the repository at this point in the history
  • Loading branch information
mgadewoll committed May 2, 2024
1 parent 05695b4 commit 9e03e77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/filter_group/filter_select_item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ export class EuiFilterSelectItemClass extends Component<

const classes = classNames('euiFilterSelectItem', className);

const hasToolTip = !disabled && toolTipContent;
const hasToolTip =
!disabled && React.isValidElement(children) && toolTipContent;
let anchorProps = undefined;

if (hasToolTip) {
Expand Down

0 comments on commit 9e03e77

Please sign in to comment.