From 5d669658a1c8b2584225bed63ce33edcc0557722 Mon Sep 17 00:00:00 2001 From: HendrikThePendric Date: Mon, 25 Nov 2024 13:33:30 +0100 Subject: [PATCH] fix: remove redundant wrapper object from onfocus and onblur callbacks --- components/tooltip/src/tooltip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/tooltip/src/tooltip.js b/components/tooltip/src/tooltip.js index a3bf07009..4f010b56e 100644 --- a/components/tooltip/src/tooltip.js +++ b/components/tooltip/src/tooltip.js @@ -104,8 +104,8 @@ const Tooltip = ({ children({ onMouseOver: onMouseOver, onMouseOut: onMouseOut, - onFocus: { onFocus }, - onBlur: { onBlur }, + onFocus: onFocus, + onBlur: onBlur, ref: popperReference, }) ) : (