Skip to content

Commit ad41427

Browse files
fix for white screen after login/register
1 parent 88992dc commit ad41427

File tree

1 file changed

+1
-1
lines changed
  • client/packages/lowcoder/src

1 file changed

+1
-1
lines changed

client/packages/lowcoder/src/app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ const mapStateToProps = (state: AppState) => ({
402402
getIsCommonSettingFetched: getIsCommonSettingFetched(state),
403403
orgDev: state.ui.users.user.orgDev,
404404
currentUserId: state.ui.users.currentUser.id,
405-
currentUserAnonymous: state.ui.users.currentUser.name === "ANONYMOUS",
405+
currentUserAnonymous: state.ui.users.user.isAnonymous,
406406
currentOrgId: state.ui.users.user.currentOrgId,
407407
defaultHomePage: state.ui.application.homeOrg?.commonSettings.defaultHomePage,
408408
fetchHomeDataFinished: Boolean(state.ui.application.homeOrg?.commonSettings),

0 commit comments

Comments
 (0)