Update user-menu.tsx to include width & height
This commit is contained in:
parent
e73bae6e2f
commit
0076f7dac4
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ export function UserMenu({ user }: UserMenuProps) {
|
|||
className="w-6 h-6 transition-opacity duration-300 rounded-full select-none ring-1 ring-zinc-100/10 hover:opacity-80"
|
||||
src={user?.image ? `${user.image}&s=60` : ''}
|
||||
alt={user.name ?? 'Avatar'}
|
||||
height={48} width={48}
|
||||
/>
|
||||
) : (
|
||||
<div className="flex items-center justify-center text-xs font-medium uppercase rounded-full select-none h-7 w-7 shrink-0 bg-muted/50 text-muted-foreground">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue