guardian routes

This commit is contained in:
Mikola committed 2024-03-15 18:18:10 +03:00
1 parent 727d55798a
commit f2ad6b43bd
13 files changed
+267 -165

No files matched your search

+1 -1
View File
@@ -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);