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"

(cherry picked from commit a348859)
  • Loading branch information
jasperhuangg authored and OSBotify committed Oct 9, 2023
1 parent db3b4e9 commit f23a0f8
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 f23a0f8

Please sign in to comment.