Fix lint errors after upgrades and narrow tsc

This commit is contained in:
Gregory Schier
2025-07-14 10:09:08 -07:00
parent 5c1fba4b0c
commit 6f1fd7a254
35 changed files with 98 additions and 15 deletions

View File

@@ -23,7 +23,7 @@ export function Tooltip({ children, content, tabIndex, size = 'md' }: TooltipPro
const [isOpen, setIsOpen] = useState<CSSProperties>();
const triggerRef = useRef<HTMLButtonElement>(null);
const tooltipRef = useRef<HTMLDivElement>(null);
const showTimeout = useRef<NodeJS.Timeout>();
const showTimeout = useRef<NodeJS.Timeout>(undefined);
const handleOpenImmediate = () => {
if (triggerRef.current == null || tooltipRef.current == null) return;