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 (