TagSpaces is an offline, open source, document manager with tagging support
fix showing onboarding screen in amplify mode (#1323)
Stanimir40abbc620c3a
diff --git a/app/utils/HandleAuth.ts b/app/utils/HandleAuth.tsindex 9f0a44a9d..68d808904 100644--- a/app/utils/HandleAuth.ts+++ b/app/utils/HandleAuth.ts@@ -36,7 +36,7 @@ const HandleAuth = React.memo((props: Props) => {// authData.signInUserSession.idToken.payload['custom:tenant']// TODO AuthState.SignedIn is called twice after login// @ts-ignore- if (username.current !== authData && queries) {+ if (username.current !== authData.username && queries) {fetchTenant().then(async tenant => {// @ts-ignore