mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: getOrganization issue
This commit is contained in:
parent
4aa2d537e1
commit
122c802c62
5 changed files with 23 additions and 9 deletions
|
|
@ -62,12 +62,11 @@ const AuthProvider = ({ children }: any) => {
|
|||
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
console.log(error);
|
||||
}
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
checkRefreshToken();
|
||||
checkAuth();
|
||||
return () => {
|
||||
auth.isLoading = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue