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}