show x button after 4 seconds on post sign up form

This commit is contained in:
bflatastic committed 2024-09-02 15:59:00 +07:00
1 parent 147e1a1b16
commit 925e3898fe
1 file changed
+1 -1
@@ -18,7 +18,7 @@ const SignUpQuestionnaireForm = () => {
useEffect(() => {
const timer = setTimeout(() => {
setModalHeaderOpacity(1);
}, 3000);
}, 4000);
return () => clearTimeout(timer);
}, []);