fix(ui): remove useless conditional

This commit is contained in:
Łukasz Mierzwa
2022-02-19 09:49:14 +00:00
committed by Łukasz Mierzwa
parent d4c376dc48
commit d799633f52

View File

@@ -50,7 +50,7 @@ const TooltipWrapper: FC<{
window.clearTimeout(timerShow);
window.clearTimeout(timerHide);
setIsVisible(false);
} else if (!isVisible && isHovering) {
} else if (!isVisible) {
clearTimeout(timerHide);
timerShow = window.setTimeout(() => setIsVisible(true), 1000);
}