Users can now upload an avatar from Profile settings.

This commit is contained in:
2026-05-16 04:00:06 +03:30
parent f46f32aa4c
commit 61b4cf9252
13 changed files with 274 additions and 19 deletions

View File

@@ -199,7 +199,7 @@ export function AppHeader({ breadcrumbs = [] }: Props) {
>
<Avatar className="size-8 overflow-hidden rounded-full">
<AvatarImage
src={auth.user?.avatar}
src={auth.user?.avatar ?? undefined}
alt={auth.user?.name}
/>
<AvatarFallback className="rounded-md bg-secondary text-secondary-foreground">