Skip to content

Commit

Permalink
chore: add lens handle name fallback (#11601)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuanyang233 committed Apr 28, 2024
1 parent b4b3375 commit ec149aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export const ProfilePopup = memo<ProfilePopupProps>(function ProfilePopup({
</ListItemIcon>
<ListItemText
classes={{ primary: classes.primary, root: classes.listItemText }}
primary={profile.metadata?.displayName}
primary={profile.metadata?.displayName ?? profile.handle?.localName}
secondary={
<div className={classes.second}>
<Typography component="div" className={classes.address}>
Expand Down

0 comments on commit ec149aa

Please sign in to comment.