Skip to content

Commit

Permalink
UserDetailsTooltip: Pass renderTooltipContentKey to Tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
cubuspl42 committed Jul 5, 2023
1 parent 11b8908 commit 41c9ee5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/UserDetailsTooltip/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,14 @@ function UserDetailsTooltip(props) {
return props.children;
}

return <Tooltip renderTooltipContent={renderTooltipContent}>{props.children}</Tooltip>;
return (
<Tooltip
renderTooltipContent={renderTooltipContent}
renderTooltipContentKey={[userDetails.displayName]}
>
{props.children}
</Tooltip>
);
}

UserDetailsTooltip.propTypes = propTypes;
Expand Down

0 comments on commit 41c9ee5

Please sign in to comment.