Update dependencies.

This commit is contained in:
Lee Robinson 2024-01-20 10:39:02 -06:00
parent 1116b4595b
commit a519c3d3bf
21 changed files with 621 additions and 629 deletions

View file

@ -31,14 +31,14 @@ export function UserMenu({ user }: UserMenuProps) {
<Button variant="ghost" className="pl-0">
{user?.image ? (
<Image
className="w-6 h-6 transition-opacity duration-300 rounded-full select-none ring-1 ring-zinc-100/10 hover:opacity-80"
className="size-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">
<div className="flex items-center justify-center text-xs font-medium uppercase rounded-full select-none size-7 shrink-0 bg-muted/50 text-muted-foreground">
{user?.name ? getUserInitials(user?.name) : null}
</div>
)}
@ -59,7 +59,7 @@ export function UserMenu({ user }: UserMenuProps) {
className="inline-flex items-center justify-between w-full text-xs"
>
Vercel Homepage
<IconExternalLink className="w-3 h-3 ml-auto" />
<IconExternalLink className="size-3 ml-auto" />
</a>
</DropdownMenuItem>
<DropdownMenuItem