Update user-menu.tsx to include width & height

This commit is contained in:
Zack Reneau-Wedeen 2023-09-04 12:59:58 -07:00
parent e73bae6e2f
commit 0076f7dac4

View file

@ -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">