Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PleatherStarfish committed Aug 5, 2024
1 parent caced95 commit 68e14cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/static/js/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/src/pages/UserPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const UserPage = () => {
{user?.emails?.length > 0 ? (
<Gravatar
className="rounded-full"
email={user.emails.find((e) => e.primary)?.email || user.emails[0].email}
email={user.emails.find((e) => e.primary)?.[0].email || user.emails[0].email}
rating="pg"
size={40}
/>
Expand Down

0 comments on commit 68e14cb

Please sign in to comment.