diff --git a/src/renderer/components/hotbar/hotbar-selector.tsx b/src/renderer/components/hotbar/hotbar-selector.tsx index 063435663c..68a8f0e81b 100644 --- a/src/renderer/components/hotbar/hotbar-selector.tsx +++ b/src/renderer/components/hotbar/hotbar-selector.tsx @@ -36,23 +36,23 @@ const NonInjectedHotbarSelector = observer(({ hotbar, hotbarManager, openCommand function clearTimer() { clearTimeout(tooltipTimeout.current); - }; + } function onTooltipShow() { setTooltipVisible(true); clearTimer(); tooltipTimeout.current = setTimeout(() => setTooltipVisible(false), 1500); - }; + } function onArrowClick(switchTo: () => void) { onTooltipShow(); switchTo(); - }; + } function onMouseEvent(event: React.MouseEvent) { clearTimer(); setTooltipVisible(event.type == "mouseenter"); - }; + } return (