diff --git a/web/src/components/ui/aceternity/hover-border-gradient.tsx b/web/src/components/ui/aceternity/hover-border-gradient.tsx index 974130405..019893382 100644 --- a/web/src/components/ui/aceternity/hover-border-gradient.tsx +++ b/web/src/components/ui/aceternity/hover-border-gradient.tsx @@ -43,7 +43,7 @@ export function HoverBorderGradient({ onMouseLeave, ...props }: HoverBorderGradientProps) { - const Tag = (as || "button") as ElementType; + const Tag = (as || "button") as any; const reducedMotion = useReducedMotion(); const [hovered, setHovered] = useState(false); const [direction, setDirection] = useState("TOP"); @@ -58,15 +58,15 @@ export function HoverBorderGradient({ return ( ) => { setHovered(true); - onMouseEnter?.(event as never); + (onMouseEnter as any)?.(event); }} onMouseLeave={(event: MouseEvent) => { setHovered(false); - onMouseLeave?.(event as never); + (onMouseLeave as any)?.(event); }} >
{children}