Merge pull request 'Incorrect Old Password Shows Improper Error Message on Change Password Screen' (#196) from Kartik_Bug#490 into Issue_Jun_1W_2

Reviewed-on: #196
This commit is contained in:
ashutosh.nehete 2025-06-09 12:31:31 +00:00
commit bab312b9ee

View File

@ -61,7 +61,7 @@ const ChangePasswordPage = ({ onClose }) => {
onClose();
} catch (error) {
setLoading(false);
showToast("Something went wrong", "error");
showToast(error.response.data.message, "error");
}
};