From 0731d20edcf81cfae392d096159a4a3e1d8f96ab Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 23 Oct 2024 16:44:08 +0100 Subject: [PATCH] tooltipsssssssssss --- projects/website/src/components/tooltip.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/website/src/components/tooltip.tsx b/projects/website/src/components/tooltip.tsx index c228321..88693af 100644 --- a/projects/website/src/components/tooltip.tsx +++ b/projects/website/src/components/tooltip.tsx @@ -34,16 +34,16 @@ type Props = { export default function Tooltip({ children, display, asChild = true, side = "top", className }: Props) { const [open, setOpen] = useState(false); - const openDebounce = useDebounce(open, 100); return ( - +
setOpen(true)} onMouseLeave={() => setOpen(false)} onTouchStart={() => setOpen(!open)} + onTouchEnd={() => setOpen(!open)} > {children}