From 1428c432cb1401a939a75761ea65398a08df84d9 Mon Sep 17 00:00:00 2001 From: Baptiste Marcel Date: Tue, 5 Dec 2023 08:46:55 +0100 Subject: [PATCH] =?UTF-8?q?modif=20temps=20apr=C3=A8s=20inscr=20et=20conne?= =?UTF-8?q?xion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cryptide_project/src/Pages/LoginForm.tsx | 2 +- cryptide_project/src/Pages/SignUpForm.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cryptide_project/src/Pages/LoginForm.tsx b/cryptide_project/src/Pages/LoginForm.tsx index 9800f65..0e3a45e 100644 --- a/cryptide_project/src/Pages/LoginForm.tsx +++ b/cryptide_project/src/Pages/LoginForm.tsx @@ -37,7 +37,7 @@ const SignIn = () => { setTimeout(async () => { await login(); navigate('/play'); // 3 secondes avant de rediriger vers la page de connexion - }, 3000); + }, 1250); } } catch (error: any) { setError(error.message); diff --git a/cryptide_project/src/Pages/SignUpForm.tsx b/cryptide_project/src/Pages/SignUpForm.tsx index 2796999..998c2fb 100644 --- a/cryptide_project/src/Pages/SignUpForm.tsx +++ b/cryptide_project/src/Pages/SignUpForm.tsx @@ -33,7 +33,7 @@ const SignUp = () => { setShowConfirmation(true); setTimeout(() => { navigate('/login'); // 3 secondes avant de rediriger vers la page de connexion - }, 3000); + }, 1250); } } catch (error: any) { setError(error.message);