diff --git a/src/components/Tooltip/Tooltip.tsx b/src/components/Tooltip/Tooltip.tsx index 5413a652..6f3d533d 100644 --- a/src/components/Tooltip/Tooltip.tsx +++ b/src/components/Tooltip/Tooltip.tsx @@ -568,7 +568,7 @@ const Tooltip = ({ }) if (newAnchors.length || removedAnchors.length) { setAnchorsBySelect((anchors) => [ - ...anchors.filter((anchor) => removedAnchors.includes(anchor)), + ...anchors.filter((anchor) => !removedAnchors.includes(anchor)), ...newAnchors, ]) }