feat: init collections index + delete

This commit is contained in:
swve 2022-09-24 20:06:05 +02:00
parent c5bb590b2d
commit 924656ce13
14 changed files with 167 additions and 22 deletions

View file

@ -28,7 +28,7 @@ const AuthProvider = (props: any) => {
userInfo = await getUserInfo(access_token);
isAuthenticated = true;
setAuth({ access_token, isAuthenticated, userInfo, isLoading });
} else if (!access_token) {
} else{
isAuthenticated = false;
setAuth({ access_token, isAuthenticated, userInfo, isLoading });
}