I have a setState hook inside forEach loop that should update state after each 1000ms
useEffect(() => { startTypingAnimation("From pas