Skip to content

Commit

Permalink
fix(UserAvatar): add missing parameters to getHashFromURL function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
chimpdev committed Oct 31, 2024
1 parent 6baf474 commit 7d5df6c
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 @@ -107,7 +107,7 @@ export default function Content({ user }) {
<div className='relative'>
<UserBanner
id={user.id}
hash={getHashFromURL(user.bannerURL)}
hash={getHashFromURL(user.bannerURL, 'banners')}
alt={`${user.username}'s banner`}
size={1024}
width={1024}
Expand All @@ -130,7 +130,7 @@ export default function Content({ user }) {
{user.avatarURL ? (
<UserAvatar
id={user.id}
hash={getHashFromURL(user.avatarURL)}
hash={getHashFromURL(user.avatarURL, 'avatars')}
size={128}
width={128}
height={128}
Expand Down

0 comments on commit 7d5df6c

Please sign in to comment.