Skip to content

Commit

Permalink
fix: use avatar_url instead of avatar in user profile page (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
chimpdev authored Oct 25, 2024
1 parent 3f91846 commit 2e056fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/app/(profiles)/profile/u/[user_id]/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ export default function Content({ user }) {
)}

<div className='pointer-events-none relative bottom-16 left-8 -mb-12 flex w-full items-center sm:mb-[-7.5rem]'>
{user.avatar ? (
{user.avatar_url ? (
<UserAvatar
id={user.id}
hash={user.avatar}
hash={getHashFromURL(user.avatar_url)}
size={128}
width={128}
height={128}
Expand Down

0 comments on commit 2e056fa

Please sign in to comment.