address should be in top view formatted. not just first letter 0

This commit is contained in:
Vivian Phung 2024-05-01 19:27:25 -04:00
parent f7d6d02b27
commit 9ed52c67c9
No known key found for this signature in database

View File

@ -7,7 +7,6 @@ import { useGQLClient } from 'context/GQLClientContext';
import { NotificationBellIcon, PlusIcon } from 'components/shared/CustomIcon';
import { Button } from 'components/shared/Button';
import { Avatar } from 'components/shared/Avatar';
import { getInitials } from 'utils/geInitials';
import { formatAddress } from 'utils/format';
import { ProjectSearchBar } from 'components/projects/ProjectSearchBar';
@ -63,7 +62,7 @@ const ProjectSearch = () => {
{user?.name && (
<Avatar
size={44}
initials={getInitials(formatAddress(user.name))}
initials={formatAddress(user.name)}
/>
)}
</div>