project avatar

This commit is contained in:
Vivian Phung 2024-05-01 20:33:32 -04:00
parent 072e2c20e3
commit 813cea055b
No known key found for this signature in database

View File

@ -6,7 +6,6 @@ import HorizontalLine from 'components/HorizontalLine';
import { useGQLClient } from 'context/GQLClientContext'; import { useGQLClient } from 'context/GQLClientContext';
import { NotificationBellIcon, PlusIcon } from 'components/shared/CustomIcon'; import { NotificationBellIcon, PlusIcon } from 'components/shared/CustomIcon';
import { Button } from 'components/shared/Button'; import { Button } from 'components/shared/Button';
import { Avatar } from 'components/shared/Avatar';
import { formatAddress } from 'utils/format'; import { formatAddress } from 'utils/format';
import { ProjectSearchBar } from 'components/projects/ProjectSearchBar'; import { ProjectSearchBar } from 'components/projects/ProjectSearchBar';
@ -60,10 +59,9 @@ const ProjectSearch = () => {
<NotificationBellIcon /> <NotificationBellIcon />
</Button> </Button>
{user?.name && ( {user?.name && (
<Avatar <p className="text-sm tracking-[-0.006em] text-elements-high-em">
size={44} {formatAddress(user.name)}
initials={formatAddress(user.name)} </p>
/>
)} )}
</div> </div>
</div> </div>