fix: getOrganization issue

This commit is contained in:
swve 2023-08-31 19:07:53 +02:00
parent 4aa2d537e1
commit 122c802c62
5 changed files with 23 additions and 9 deletions

View file

@ -62,12 +62,11 @@ const AuthProvider = ({ children }: any) => {
}
} catch (error) {
console.log(error);
}
}
useEffect(() => {
checkRefreshToken();
checkAuth();
return () => {
auth.isLoading = false;