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