diff --git a/libs/shared/lib/components/tooltip/Tooltip.tsx b/libs/shared/lib/components/tooltip/Tooltip.tsx index ac885ca6ecb82851ebfe9e8665a4130b98646c22..a259f9a2c1cd66852a747bc98ddb937aff3aaf52 100644 --- a/libs/shared/lib/components/tooltip/Tooltip.tsx +++ b/libs/shared/lib/components/tooltip/Tooltip.tsx @@ -110,7 +110,7 @@ export const TooltipTrigger = React.forwardRef<HTMLElement, React.HTMLProps<HTML if (children == null) { return React.createElement('div').ref; } else { - return (children as React.ReactElement).ref; + return (children as any).ref; } }, [children]);