fix
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import React from 'react'
|
||||
import './StackSection.css'
|
||||
const StackSection = () => {
|
||||
return (
|
||||
|
||||
@@ -40,7 +40,7 @@ export function TypingSpan({
|
||||
useEffect(() => {
|
||||
const phrase = phrases[phraseIndex];
|
||||
|
||||
let timeout: NodeJS.Timeout;
|
||||
let timeout: ReturnType<typeof setTimeout>;
|
||||
|
||||
if (!isDeleting && text.length < phrase.length) {
|
||||
timeout = setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user