From 65b58a6e6f050d3d1c1f75c2899f2b32e915a4a1 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Wed, 24 May 2023 22:39:12 +0100 Subject: [PATCH] set login error to false once continue btn is clicked --- src/components/AuthPages/Login/index.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/AuthPages/Login/index.jsx b/src/components/AuthPages/Login/index.jsx index 5cc6bf5..dd37fb5 100644 --- a/src/components/AuthPages/Login/index.jsx +++ b/src/components/AuthPages/Login/index.jsx @@ -56,6 +56,7 @@ export default function Login() { // FUNCTION TO HANDLE USER LOGIN const doLogin = ({ target: { name } }) => { setMsgError(""); + setLoginError(false) setLoginLoading(true); let postData; // Post Data for API if (!email || !password) { -- 2.34.1