Update src/components/sections/hero/HeroExpand.tsx

This commit is contained in:
2026-06-21 18:19:23 +00:00
parent be265a35d0
commit 230c5d5d74

View File

@@ -17,7 +17,7 @@ export default function HeroExpand({
onComplete
}: HeroExpandProps) {
const [isExpanded, setIsExpanded] = useState(false);
const timerRef = useRef<NodeJS.Timeout | undefined>();
const timerRef = useRef<ReturnType<typeof setTimeout> | undefined>();
const handleComplete = useCallback(() => {
if (onComplete) onComplete();