diff --git a/packages/utah-design-system/src/components/Avatar.tsx b/packages/utah-design-system/src/components/Avatar.tsx index 439ec234..d93379b9 100644 --- a/packages/utah-design-system/src/components/Avatar.tsx +++ b/packages/utah-design-system/src/components/Avatar.tsx @@ -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; }