mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-12-23 05:07:44 +00:00
address should be in top view formatted. not just first letter 0
(#3)
This commit is contained in:
commit
83d5e3d769
@ -7,7 +7,6 @@ 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 { Avatar } from 'components/shared/Avatar';
|
||||||
import { getInitials } from 'utils/geInitials';
|
|
||||||
import { formatAddress } from 'utils/format';
|
import { formatAddress } from 'utils/format';
|
||||||
import { ProjectSearchBar } from 'components/projects/ProjectSearchBar';
|
import { ProjectSearchBar } from 'components/projects/ProjectSearchBar';
|
||||||
|
|
||||||
@ -63,7 +62,7 @@ const ProjectSearch = () => {
|
|||||||
{user?.name && (
|
{user?.name && (
|
||||||
<Avatar
|
<Avatar
|
||||||
size={44}
|
size={44}
|
||||||
initials={getInitials(formatAddress(user.name))}
|
initials={formatAddress(user.name)}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user