Tiggeer Toast with valide message

This commit is contained in:
Pramod Mahajan 2025-05-06 16:33:04 +05:30
parent 029254e548
commit c4ebf6262f

View File

@ -114,7 +114,7 @@ const EmployeeList = () => {
recallEmployeeData()
})
.catch((error) => {
showToast(error.message, "error");
showToast(error.response.data.message, "error");
});
};