Tiggeer Toast with valide message

This commit is contained in:
Pramod Mahajan 2025-05-06 16:33:04 +05:30 committed by Vikas Nale
parent 2482a79f9c
commit a00ab0f13d

View File

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