guardian routes
This commit is contained in:
1 parent
727d55798a
commit
f2ad6b43bd
13 files changed
+267
-165
No files matched your search
+1
-1
@@ -41,7 +41,7 @@ export const apiRequest = (
|
||||
if (response.data?.redirect || response.status === 401) {
|
||||
window.location.replace("/auth");
|
||||
localStorage.clear();
|
||||
// dispatch(auth(false));
|
||||
store.dispatch(auth(false));
|
||||
store.dispatch(setProfileInfo({}));
|
||||
}
|
||||
return resolve(response);
|
||||
|
||||
Reference in new issue
Block a user