Incorrect Old Password Shows Improper Error Message on Change Password Screen #196

Merged
ashutosh.nehete merged 1 commits from Kartik_Bug#490 into Issue_Jun_1W_2 2025-06-09 12:31:31 +00:00
Showing only changes of commit e079be39db - Show all commits

View File

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