Skip to content

Commit

Permalink
fix: remove redundant wrapper object from onfocus and onblur callbacks (
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric authored Nov 25, 2024
1 parent cfd7878 commit d259c09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tooltip/src/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ const Tooltip = ({
children({
onMouseOver: onMouseOver,
onMouseOut: onMouseOut,
onFocus: { onFocus },
onBlur: { onBlur },
onFocus: onFocus,
onBlur: onBlur,
ref: popperReference,
})
) : (
Expand Down

0 comments on commit d259c09

Please sign in to comment.