fix(ui): remove useless conditional

This commit is contained in:
Łukasz Mierzwa
2022-02-19 10:28:17 +00:00
committed by Łukasz Mierzwa
parent d4c376dc48
commit d799633f52
+1 -1
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);
}