diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-24 10:07:12 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-24 10:07:12 +0700 |
| commit | 14ad96a9d010790fe7a482035d6d88f36db660fe (patch) | |
| tree | 00a831b7beed31e6f2492480b135220d3c07291e /src/lib/auth/components | |
| parent | 047aacc646c86b316c4d42fb720cbc841426df27 (diff) | |
fix
Diffstat (limited to 'src/lib/auth/components')
| -rw-r--r-- | src/lib/auth/components/Login.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
