chore: show display name character in avatar (#4326)

This commit is contained in:
Aaryan Khandelwal 2024-05-01 18:05:24 +05:30 committed by GitHub
parent 34dd19cb00
commit 73fd6e641c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ const CollaboratorListItem: React.FC<CollaboratorListItemProps> = observer((prop
<div className="flex justify-center"> <div className="flex justify-center">
<Avatar <Avatar
src={userDetails.avatar} src={userDetails.avatar}
name={isCurrentUser ? "You" : userDetails.display_name} name={userDetails.display_name}
size={69} size={69}
className="!text-3xl !font-medium" className="!text-3xl !font-medium"
showTooltip={false} showTooltip={false}