From 31599cd291a3a7547539292d4d2da0d85da5fd9c Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Thu, 11 Jan 2024 15:25:43 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=B2=20=D0=BB?= =?UTF-8?q?=D0=BE=D0=B3=D0=B8=D0=BD=D0=B5=20=D0=B8=20=D1=80=D0=B5=D0=B3?= =?UTF-8?q?=D0=B8=D1=81=D1=82=D1=80=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/AuthPage/AuthPage.jsx | 2 +- src/pages/RegisterPage/RegisterPage.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/AuthPage/AuthPage.jsx b/src/pages/AuthPage/AuthPage.jsx index ef773ed..4925097 100644 --- a/src/pages/AuthPage/AuthPage.jsx +++ b/src/pages/AuthPage/AuthPage.jsx @@ -64,7 +64,7 @@ const AuthPage = () => { if (Object.keys(errors).length === 0 && submitting && currentUser) { finishSubmit(); } - }, [errors, submitting, currentUser]); + }); return ( <> diff --git a/src/pages/RegisterPage/RegisterPage.jsx b/src/pages/RegisterPage/RegisterPage.jsx index ad77d03..7035751 100644 --- a/src/pages/RegisterPage/RegisterPage.jsx +++ b/src/pages/RegisterPage/RegisterPage.jsx @@ -98,7 +98,7 @@ const RegisterPage = () => { if (Object.keys(errors).length === 0 && submitting) { finishSubmit(); } - }, [errors, submitting, currentUser]); + }); return ( <>