Skip to content

Commit 89b121a

Browse files
gabrieljablonskiGabriel Jablonski
authored andcommitted
fix: use handleShow() on click outside
1 parent c011a10 commit 89b121a

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
@@ -180,7 +180,7 @@ const Tooltip = ({
180180
if (activeAnchor.current?.contains(event.target as HTMLElement)) {
181181
return
182182
}
183-
setShow(false)
183+
handleShow(false)
184184
}
185185

186186
// debounce handler to prevent call twice when

0 commit comments

Comments
 (0)