diff --git a/src/components/Tooltip/Tooltip.tsx b/src/components/Tooltip/Tooltip.tsx index e0b53517..a92ab3b6 100644 --- a/src/components/Tooltip/Tooltip.tsx +++ b/src/components/Tooltip/Tooltip.tsx @@ -175,7 +175,7 @@ function TooltipAnchor({ children }: Readonly): JSX.Element { ...childrenProps, }); return cloneElement(children, props); - }, [ref, children, childrenProps]); + }, [context, ref, children, childrenProps]); if (!element) { throw new Error("Tooltip anchor must be a single valid React element");