maybe fix tooltip on mobile?
Some checks failed
Deploy Website / docker (ubuntu-latest) (push) Failing after 2m22s

This commit is contained in:
Lee 2024-10-23 16:23:03 +01:00
parent 56b2f272b9
commit b4bcf32a43

@ -41,7 +41,6 @@ export default function Tooltip({ children, display, asChild = true, side = "top
<TooltipTrigger className={className} asChild={asChild}> <TooltipTrigger className={className} asChild={asChild}>
<div <div
className={cn("cursor-default", className)} className={cn("cursor-default", className)}
onClick={() => setOpen(!open)}
onMouseEnter={() => setOpen(true)} onMouseEnter={() => setOpen(true)}
onMouseLeave={() => setOpen(false)} onMouseLeave={() => setOpen(false)}
onTouchStart={() => setOpen(!open)} onTouchStart={() => setOpen(!open)}