🩹(frontend) update initials fallback

The previous value was temporary. Replaced it with an empty
string, that would be more discreet.
This commit is contained in:
lebaudantoine
2024-08-22 22:35:49 +02:00
committed by aleb_the_flash
parent 8b2750c413
commit 3dda12ada6

View File

@@ -14,7 +14,7 @@ export const Avatar = ({
bgColor = '#3498db', bgColor = '#3498db',
textColor = 'white', textColor = 'white',
}: AvatarProps) => { }: AvatarProps) => {
const initial = name?.trim()?.charAt(0).toUpperCase() || '*' // fixme use a proper fallback const initial = name?.trim()?.charAt(0).toUpperCase() || ''
return ( return (
<div <div
className={css({ className={css({