Skip to content

Commit

Permalink
use custom function istead of nextId (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzonidoo authored Nov 7, 2024
1 parent 3424eeb commit 6f59d43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app-typescript/components/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ class TooltipBasic extends React.PureComponent<IProps> {
}

const TooltipAppended: React.FC<IProps> = ({children, flow, text}) => {
const htmlId = nextId();
const triggerId = "t" + htmlId;
const triggerId = `uif-tooltip-${Math.random().toString().slice(2)}`;
const position = flow === "down" ? "bottom" : flow;

return (
Expand Down

0 comments on commit 6f59d43

Please sign in to comment.