From 1feb1a40be68c6736e94a5fd6aec1ad9515de757 Mon Sep 17 00:00:00 2001 From: popovspiridon99 Date: Fri, 27 Mar 2026 17:28:19 +0900 Subject: [PATCH] fix --- src/components/StackSection.tsx | 1 - src/components/TypingSpan.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/StackSection.tsx b/src/components/StackSection.tsx index ebd8ad5..75bcba0 100644 --- a/src/components/StackSection.tsx +++ b/src/components/StackSection.tsx @@ -1,4 +1,3 @@ -import React from 'react' import './StackSection.css' const StackSection = () => { return ( diff --git a/src/components/TypingSpan.tsx b/src/components/TypingSpan.tsx index d079f0e..fe8d1a3 100644 --- a/src/components/TypingSpan.tsx +++ b/src/components/TypingSpan.tsx @@ -40,7 +40,7 @@ export function TypingSpan({ useEffect(() => { const phrase = phrases[phraseIndex]; - let timeout: NodeJS.Timeout; + let timeout: ReturnType; if (!isDeleting && text.length < phrase.length) { timeout = setTimeout(() => {