From 5605b14c18f106ba231d5ab7be55fca7472ef8a3 Mon Sep 17 00:00:00 2001 From: Ankur Halder Date: Sun, 10 Nov 2024 15:23:32 +0530 Subject: [PATCH] fix: Ensure loading state is reset after authentication response in Login component --- pages/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index.jsx b/pages/index.jsx index 78e3ecbb..83f2ba54 100644 --- a/pages/index.jsx +++ b/pages/index.jsx @@ -39,7 +39,7 @@ function Login() { devLog("Auth platform response:", response); showAlert(response.message); - + setLoading(false); if (!response.status) { return; }