removed unwanted handeling on login page
This commit is contained in:
parent
899dac5afd
commit
959e4dd7dd
@ -46,13 +46,6 @@ const LoginPage = () => {
|
|||||||
console.log("Unable to proceed. Please try again.");
|
console.log("Unable to proceed. Please try again.");
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
|
|
||||||
if (err.status === 401) {
|
|
||||||
showToast(err.response.data);
|
|
||||||
} else
|
|
||||||
{
|
|
||||||
showToast("Unable to proceed. Please try again.","error");
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user