diff --git a/src/components/sections/hero/HeroExpand.tsx b/src/components/sections/hero/HeroExpand.tsx index 527746e..f6e04ad 100644 --- a/src/components/sections/hero/HeroExpand.tsx +++ b/src/components/sections/hero/HeroExpand.tsx @@ -17,7 +17,7 @@ export default function HeroExpand({ onComplete }: HeroExpandProps) { const [isExpanded, setIsExpanded] = useState(false); - const timerRef = useRef(); + const timerRef = useRef | undefined>(); const handleComplete = useCallback(() => { if (onComplete) onComplete();