mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
fix(component): uppercase avatar letter fallback (#6354)
This commit is contained in:
@@ -112,7 +112,7 @@ export const Avatar = forwardRef<HTMLSpanElement, AvatarProps>(
|
||||
{colorfulFallback ? (
|
||||
<ColorfulFallback char={firstCharOfName} />
|
||||
) : (
|
||||
firstCharOfName
|
||||
firstCharOfName.toUpperCase()
|
||||
)}
|
||||
</AvatarFallback>
|
||||
{hoverIcon ? (
|
||||
|
||||
Reference in New Issue
Block a user