Feature/add user activiry crud
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user