We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42a7e53 commit e93c980Copy full SHA for e93c980
client/common/Tooltip.tsx
@@ -106,10 +106,9 @@ export const TooltipTrigger = forwardRef<
106
HTMLProps<HTMLElement>
107
>(({children, ...props}, forwardedRef) => {
108
const context = useTooltipContext();
109
- const childrenRef = (children as any).ref;
110
- const ref = useMergeRefs([context.refs.setReference, forwardedRef, childrenRef]);
+ const ref = useMergeRefs([context.refs.setReference, forwardedRef]);
111
112
- return (
+ return (
113
<div
114
ref={ref}
115
// The user can style the trigger based on the state
0 commit comments