Skip to content

Commit

Permalink
chore(avatar): fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh authored and stdavis committed Sep 6, 2024
1 parent fa953d5 commit a5f7469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utah-design-system/src/components/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const Avatar = ({
anonymous: Boolean;
user: User | undefined;
}) => {
if ((user?.email.length ?? 0) < 2) {
if ((user?.email?.length ?? 0) < 2) {
return null;
}

Expand Down

0 comments on commit a5f7469

Please sign in to comment.