From d799633f525858a58515cbcabbb02cd7ff480742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Sat, 19 Feb 2022 09:49:14 +0000 Subject: [PATCH] fix(ui): remove useless conditional --- ui/src/Components/TooltipWrapper/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/Components/TooltipWrapper/index.tsx b/ui/src/Components/TooltipWrapper/index.tsx index c96d2dca6..f473f8ee3 100644 --- a/ui/src/Components/TooltipWrapper/index.tsx +++ b/ui/src/Components/TooltipWrapper/index.tsx @@ -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); }