Skip to content

Commit

Permalink
Merge pull request #2 from mohdjami/development
Browse files Browse the repository at this point in the history
Fixed avatar fallback name
  • Loading branch information
mohdjami authored Dec 25, 2024
2 parents bf73a3d + 69977be commit b3f45fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/users/user-account-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const UserAccountNav = ({ user }: { user: User }) => {
/>
) : (
<AvatarFallback>
{user?.email?.charAt(0).toUpperCase()}
{user?.user_metadata.full_name?.charAt(0).toUpperCase()}
</AvatarFallback>
)}
</Avatar>
Expand Down

0 comments on commit b3f45fe

Please sign in to comment.