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(() => {