diff --git a/src/pages/profile/ProfilePage.tsx b/src/pages/profile/ProfilePage.tsx index aeee4f0..8b6ed9a 100644 --- a/src/pages/profile/ProfilePage.tsx +++ b/src/pages/profile/ProfilePage.tsx @@ -72,7 +72,11 @@ const ProfilePage: React.FC = () => { {!editing ? ( <>
- } src={isBadValue(user.avatar_url) ? '-' : {user.avatar_url}} /> + } + src={!isBadValue(user.avatar_url) ? user.avatar_url! : undefined} + />

{!isBadValue(user.nickname) ? user.nickname : user.email}