+10
-1
@@ -1,5 +1,6 @@
|
|||||||
import { type FC } from 'react'
|
import { type FC } from 'react'
|
||||||
import Input from '@/components/Input'
|
import Input from '@/components/Input'
|
||||||
|
import PresignedImage from '@/components/PresignedImage'
|
||||||
import { HambergerMenu, Wallet } from 'iconsax-react'
|
import { HambergerMenu, Wallet } from 'iconsax-react'
|
||||||
import Notifications from '@/pages/notification/Notification'
|
import Notifications from '@/pages/notification/Notification'
|
||||||
import { useSharedStore } from './store/useSharedStore'
|
import { useSharedStore } from './store/useSharedStore'
|
||||||
@@ -50,7 +51,15 @@ const Header: FC = () => {
|
|||||||
{displayName && (
|
{displayName && (
|
||||||
<div className='flex gap-2 items-center'>
|
<div className='flex gap-2 items-center'>
|
||||||
<div className='size-6 rounded-full bg-description overflow-hidden flex items-center justify-center text-white text-xs font-medium'>
|
<div className='size-6 rounded-full bg-description overflow-hidden flex items-center justify-center text-white text-xs font-medium'>
|
||||||
{initials}
|
{data?.avatarUrl ? (
|
||||||
|
<PresignedImage
|
||||||
|
src={data.avatarUrl}
|
||||||
|
className='size-full object-cover'
|
||||||
|
alt=''
|
||||||
|
/>
|
||||||
|
) : (
|
||||||
|
initials
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className='xl:block hidden text-xs'>
|
<div className='xl:block hidden text-xs'>
|
||||||
{displayName}
|
{displayName}
|
||||||
|
|||||||
Reference in New Issue
Block a user