From 3d91af23cc8f06f5a96d27225fc616817dd45264 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Tue, 27 Aug 2024 14:36:22 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F(frontend)=20revert=20upperca?= =?UTF-8?q?sing=20initials?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rolled back the uppercasing of initials to align with Gmeet behavior. This change is made purely for consistency. --- src/frontend/src/components/Avatar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/Avatar.tsx b/src/frontend/src/components/Avatar.tsx index 70308b59..dc3fdf23 100644 --- a/src/frontend/src/components/Avatar.tsx +++ b/src/frontend/src/components/Avatar.tsx @@ -38,7 +38,7 @@ export type AvatarProps = React.HTMLAttributes & { } & RecipeVariantProps export const Avatar = ({ name, bgColor, context, ...props }: AvatarProps) => { - const initial = name?.trim()?.charAt(0).toUpperCase() || '' + const initial = name?.trim()?.charAt(0) || '' return (