Bug#182 - Add fallback error message handling with server response support #68

Merged
vikas.nale merged 2 commits from pramod_Bug#182 into Issue_May_2W 2025-05-07 06:21:26 +00:00
Showing only changes of commit c4ebf6262f - Show all commits

View File

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