remove an impossible catch
Šī revīzija ir iekļauta:
@@ -33,10 +33,7 @@ export const AuthProvider = ({ children }: { children: any }) => {
|
||||
} else {
|
||||
setAuth(InitialAuthState);
|
||||
}
|
||||
}).catch(() => {
|
||||
setAuth(InitialAuthState);
|
||||
navigate('/');
|
||||
});
|
||||
})
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
||||
|
||||
Atsaukties uz šo jaunā problēmā
Block a user