fix: resolve all TypeScript build errors

- InteractiveMenu: block body on textRefs callback (void return)
- TextHoverEffect: remove stale @ts-expect-error (now unused)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vadym Samoilenko 2026-02-23 13:55:57 +00:00
parent dcd6eb487e
commit 2c115bab99
2 changed files with 3 additions and 2 deletions

View file

@ -69,7 +69,9 @@ export function InteractiveMenu({ items, accentColor, onSelect }: InteractiveMen
</span>
<strong
className={`interactive-menu__text${isActive ? 'active' : ''}`}
ref={(el) => (textRefs.current[index] = el as HTMLElement)}
ref={(el) => {
textRefs.current[index] = el as HTMLElement;
}}
>
{item.label}
</strong>

View file

@ -45,7 +45,6 @@ export const TextHoverEffect = ({
className={cn('cursor-pointer select-none', className)}
>
<defs>
{/* @ts-expect-error — motion.radialGradient is valid framer-motion SVG element */}
<motion.radialGradient
id="revealMask"
gradientUnits="userSpaceOnUse"