Skip to content

Commit

Permalink
Merge pull request #31450 from bernhardoj/fix/30362-setting-skeleton
Browse files Browse the repository at this point in the history
Fix settings page skeleton isn't shown
  • Loading branch information
Gonals authored Nov 17, 2023
2 parents b61a300 + 18772c7 commit f08baad
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/pages/settings/InitialSettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,6 @@ function InitialSettingsPage(props) {
);
}, [getDefaultMenuItems, props.betas, props.userWallet.currentBalance, translate, isExecuting, singleExecution]);

// On the very first sign in or after clearing storage these
// details will not be present on the first render so we'll just
// return nothing for now.
if (_.isEmpty(props.currentUserPersonalDetails)) {
return null;
}
const headerContent = (
<View style={[styles.avatarSectionWrapper, styles.justifyContentCenter]}>
{_.isEmpty(props.currentUserPersonalDetails) || _.isUndefined(props.currentUserPersonalDetails.displayName) ? (
Expand Down

0 comments on commit f08baad

Please sign in to comment.