Skip to content

Commit

Permalink
fix(UserProfile): add missing parameters to getHashFromURL function c…
Browse files Browse the repository at this point in the history
…alls (#120)
  • Loading branch information
chimpdev authored Oct 31, 2024
1 parent 6baf474 commit 3caed84
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 3caed84

Please sign in to comment.