From d259c097c70fd82568d28142162324c83706005d Mon Sep 17 00:00:00 2001 From: Hendrik de Graaf Date: Mon, 25 Nov 2024 14:14:31 +0100 Subject: [PATCH] fix: remove redundant wrapper object from onfocus and onblur callbacks (#1637) --- 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, }) ) : (