diff --git a/src/Pages/Store/Employees/index.js b/src/Pages/Store/Employees/index.js index 18faf57..9e9c402 100644 --- a/src/Pages/Store/Employees/index.js +++ b/src/Pages/Store/Employees/index.js @@ -18,6 +18,7 @@ import { EncodeStringToBase64, showInputsInvalidNotification, Constants, + showUnkownErrorNotification, } from "../../../utils"; import { useTranslation } from "react-i18next"; import MyTable from "../../../Components/MyTable"; @@ -334,9 +335,8 @@ function ModalAddEditEmployee({ fetchEmployees(); }) - .catch((errStatus) => { - console.log(errStatus); - + .catch(() => { + showUnkownErrorNotification(notificationApi, t); setIsRequesting(false); }); })