Feature/add user activiry crud

This commit is contained in:
AmirHossein Mahmoodi
2025-03-09 11:41:52 +00:00
parent eb86b0835b
commit 87f1a520ea
29 changed files with 630 additions and 46 deletions

View File

@@ -56,7 +56,7 @@ const errorClient = (response, notification, toastContainer, logout) => {
};
export const errorResponse = (response, notification, toastContainer, logout) => {
if (notification) toast.dismiss({ container: toastContainer });
if (notification) toast.dismiss({ containerId: toastContainer });
if (isServerError(response.status)) {
errorServer(response, notification, toastContainer);
} else if (isClientError(response.status)) {