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:
parent
dcd6eb487e
commit
2c115bab99
2 changed files with 3 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue