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 committed Nov 25, 2024
1 parent 8b8a240 commit 5d66965
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 5d66965

Please sign in to comment.