Skip to content

Commit

Permalink
hot fix (#2673)
Browse files Browse the repository at this point in the history
Co-authored-by: Guy Langford-Lee <guy@growthbook.io>
  • Loading branch information
gazzdingo and Guy Langford-Lee committed Jun 21, 2024
1 parent 36691d5 commit 4429f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/front-end/components/Avatar/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Avatar: FC<{
className?: string;
}> = ({ email, size = 40, className, name }) => {
const firstNameLetter = name?.charAt(0) || email.charAt(0);
const lastNameLetter = name?.split(" ")[1]?.charAt(0);
const lastNameLetter = name?.split(" ")[1]?.charAt(0) || "";
const title = name ? `${name} <${email}>` : email;
const copy =
name.toLowerCase() === "api"
Expand Down

0 comments on commit 4429f31

Please sign in to comment.