Skip to content

Commit

Permalink
Merge pull request #29126 from Expensify/revert-28812-Gray-ShareCode-404
Browse files Browse the repository at this point in the history
Revert "Initial fix"
  • Loading branch information
jasperhuangg authored Oct 9, 2023
2 parents 8697379 + 55544d8 commit a348859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ProfilePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function ProfilePage(props) {
const phoneOrEmail = isSMSLogin ? getPhoneNumber(details) : login;

const isCurrentUser = _.keys(props.loginList).includes(login);
const hasMinimumDetails = !_.isEmpty(details.avatar) && !_.isUndefined(details.displayName);
const hasMinimumDetails = !_.isEmpty(details.avatar);
const isLoading = lodashGet(details, 'isLoading', false) || _.isEmpty(details) || props.isLoadingReportData;

// If the API returns an error for some reason there won't be any details and isLoading will get set to false, so we want to show a blocking screen
Expand Down

0 comments on commit a348859

Please sign in to comment.