mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
fix(ui): remove useless conditional
This commit is contained in:
committed by
Łukasz Mierzwa
parent
d4c376dc48
commit
d799633f52
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user