Skip to content

Commit

Permalink
Merge pull request #144 from alexladouceur/friends-fallback-image
Browse files Browse the repository at this point in the history
added fallback image to friends if none found
  • Loading branch information
s-alad authored Oct 3, 2024
2 parents 3091157 + ecfe896 commit 0ef879f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/pages/me/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default function Me() {
return (
<Link href={`/profile/${friend.uid}`} key={friend.uid}>
<div className={s.friend} key={friend.uid}>
<img src={friend.pfp} className={s.pfp} />
<img src={friend.pfp || "../TooFake.png"} className={s.pfp} />
<div className={s.details}>
<div className={s.username}>@{friend.username}</div>
<div className={s.fullname}>{friend.fullname}</div>
Expand Down

0 comments on commit 0ef879f

Please sign in to comment.