Skip to content

Commit

Permalink
Revert "Initial fix"
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperhuangg authored Oct 9, 2023
1 parent 8697379 commit 55544d8
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 55544d8

Please sign in to comment.