Compare commits

...

2 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");
} }
}; };