From c0ece10bf4b4e3db3451a2c81c46e296d9a28245 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Wed, 12 Nov 2025 10:15:00 +0330 Subject: [PATCH] register bug --- src/pages/auth/Register.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/auth/Register.tsx b/src/pages/auth/Register.tsx index 8543036..5a1862f 100644 --- a/src/pages/auth/Register.tsx +++ b/src/pages/auth/Register.tsx @@ -15,7 +15,9 @@ const Register: FC = () => { const { t } = useTranslation('global') useEffect(() => { - window.location.href = Pages.auth.login + setTimeout(() => { + window.location.href = Pages.auth.login + }, 300) }, [])