Created
June 30, 2022 20:37
-
-
Save nemrosim/1afcfc5f38f346f6b553ae225e728809 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
useEffect(() => { | |
const id = setTimeout(() => { | |
setIsTrue(true); | |
- }, 1000); | |
+ }, 2000); | |
return () => { | |
clearTimeout(id); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment