♻️(frontend) revert uppercasing initials
Rolled back the uppercasing of initials to align with Gmeet behavior. This change is made purely for consistency.
This commit is contained in:
committed by
aleb_the_flash
parent
2d0d30ce01
commit
3d91af23cc
@@ -38,7 +38,7 @@ export type AvatarProps = React.HTMLAttributes<HTMLDivElement> & {
|
|||||||
} & RecipeVariantProps<typeof avatar>
|
} & RecipeVariantProps<typeof avatar>
|
||||||
|
|
||||||
export const Avatar = ({ name, bgColor, context, ...props }: AvatarProps) => {
|
export const Avatar = ({ name, bgColor, context, ...props }: AvatarProps) => {
|
||||||
const initial = name?.trim()?.charAt(0).toUpperCase() || ''
|
const initial = name?.trim()?.charAt(0) || ''
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
|||||||
Reference in New Issue
Block a user