Skip to content

Commit 09f1c45

Browse files
Update src/components/Tooltip/Tooltip.tsx
Co-authored-by: Gabriel Jablonski <[email protected]>
1 parent e251d10 commit 09f1c45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Tooltip/Tooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ const Tooltip = ({
374374
}
375375
if (activeAnchor) {
376376
;[...mutation.removedNodes].some((node) => {
377-
if (node?.contains && node.contains(activeAnchor)) {
377+
if (node?.contains?.(activeAnchor)) {
378378
setRendered(false)
379379
handleShow(false)
380380
setActiveAnchor(null)

0 commit comments

Comments
 (0)