diff --git a/src/components/ui/InteractiveMenu.tsx b/src/components/ui/InteractiveMenu.tsx index 230cd1b..0748c4e 100644 --- a/src/components/ui/InteractiveMenu.tsx +++ b/src/components/ui/InteractiveMenu.tsx @@ -69,7 +69,9 @@ export function InteractiveMenu({ items, accentColor, onSelect }: InteractiveMen (textRefs.current[index] = el as HTMLElement)} + ref={(el) => { + textRefs.current[index] = el as HTMLElement; + }} > {item.label} diff --git a/src/components/ui/TextHoverEffect.tsx b/src/components/ui/TextHoverEffect.tsx index 98d7734..3a192dc 100644 --- a/src/components/ui/TextHoverEffect.tsx +++ b/src/components/ui/TextHoverEffect.tsx @@ -45,7 +45,6 @@ export const TextHoverEffect = ({ className={cn('cursor-pointer select-none', className)} > - {/* @ts-expect-error — motion.radialGradient is valid framer-motion SVG element */}