From 959e4dd7dd3073d83d315a8c3ccc983f2324cc67 Mon Sep 17 00:00:00 2001 From: Vaibhav Surve Date: Sat, 29 Mar 2025 16:45:19 +0530 Subject: [PATCH] removed unwanted handeling on login page --- src/pages/authentication/LoginPage.jsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/pages/authentication/LoginPage.jsx b/src/pages/authentication/LoginPage.jsx index 95667999..6b51cee3 100644 --- a/src/pages/authentication/LoginPage.jsx +++ b/src/pages/authentication/LoginPage.jsx @@ -46,13 +46,6 @@ const LoginPage = () => { console.log("Unable to proceed. Please try again."); setLoading(false); - if (err.status === 401) { - showToast(err.response.data); - } else - { - showToast("Unable to proceed. Please try again.","error"); - - } } }; return (