Skip to content

Commit

Permalink
fix(profile): account address display (#1872)
Browse files Browse the repository at this point in the history
  • Loading branch information
maurerbot authored Mar 6, 2023
1 parent c5b47e6 commit 8a2f65e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/profile/app/helpers/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,15 @@ export const normalizeProfileToConnection = (profile: any) => {
case 'OAuthTwitterProfile':
return {
id: profile.urn,
address: profile.name,
address: `@${profile.screen_name}`,
title: profile.name,
icon: profile.profile_image_url_https,
chain: 'Twitter',
}
case 'OAuthGithubProfile':
return {
id: profile.urn,
address: profile.name,
address: profile.login,
title: profile.name,
icon: profile.avatar_url,
chain: 'GitHub',
Expand All @@ -223,8 +223,8 @@ export const normalizeProfileToConnection = (profile: any) => {
case 'OAuthDiscordProfile':
return {
id: profile.urn,
address: profile.email,
title: `${profile.username}#${profile.discriminator}`,
address: `${profile.username}#${profile.discriminator}`,
title: profile.username,
icon: `https://cdn.discordapp.com/avatars/${profile.discordId}/${profile.avatar}.png`,
chain: 'Discord',
}
Expand Down

0 comments on commit 8a2f65e

Please sign in to comment.