From 14ad96a9d010790fe7a482035d6d88f36db660fe Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Fri, 24 Feb 2023 10:07:12 +0700
Subject: fix

---
 src/lib/auth/components/Login.jsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/lib/auth/components/Login.jsx')

diff --git a/src/lib/auth/components/Login.jsx b/src/lib/auth/components/Login.jsx
index b4e94e0a..b25cf4fe 100644
--- a/src/lib/auth/components/Login.jsx
+++ b/src/lib/auth/components/Login.jsx
@@ -16,6 +16,7 @@ const Login = () => {
 
   const handleSubmit = async (e) => {
     e.preventDefault()
+    setAlert(null)
     setIsLoading(true)
     const login = await loginApi({ email, password })
     setIsLoading(false)
-- 
cgit v1.2.3

