formatting
This commit is contained in:
@@ -19,7 +19,7 @@ const errorServer = (response, notification, toastContainer) => {
|
||||
const errorClient = (response, notification, toastContainer, logout) => {
|
||||
switch (response.status) {
|
||||
case 401:
|
||||
logout()
|
||||
logout();
|
||||
if (notification) errorUnauthorizedToast(toastContainer);
|
||||
break;
|
||||
case 422:
|
||||
|
||||
Reference in New Issue
Block a user