This commit is contained in:
puzhen 2025-10-23 16:19:59 +01:00
parent 0f1380b7ac
commit 0623577a1d

View file

@ -404,7 +404,7 @@ function AnimateIcon({
const content = asChild ? (
<Slot
ref={inViewRef as React.RefCallback<HTMLElement>}
ref={inViewRef as any}
onMouseEnter={handleMouseEnter}
onMouseLeave={handleMouseLeave}
onPointerDown={handlePointerDown}
@ -415,7 +415,7 @@ function AnimateIcon({
</Slot>
) : (
<motion.span
ref={inViewRef as React.RefCallback<HTMLSpanElement>}
ref={inViewRef as any}
onMouseEnter={handleMouseEnter}
onMouseLeave={handleMouseLeave}
onPointerDown={handlePointerDown}