Skip to content

Commit

Permalink
add prop to useEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcfaul committed Nov 30, 2023
1 parent 078b4b4 commit 57da504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-table/src/components/Table/TableText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const TableText: React.FunctionComponent<TableTextProps> = ({
setTooltip('');
}
}
}, [focused]);
}, [focused, tooltipHasDefaultBehavior]);

return tooltip !== '' ? (
<Tooltip triggerRef={textRef} content={tooltip} {...tooltipProps}>
Expand Down

0 comments on commit 57da504

Please sign in to comment.