Skip to content

Commit

Permalink
Fixed user initials
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-harness committed Feb 28, 2025
1 parent 4b9e15b commit 18d68cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/navbar-new/sidebar-user.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function User({ user, openThemeDialog, openLanguageDialog, handleLogOut,
<div className="flex items-center gap-2 px-1 py-1.5 text-left text-sm">
<Avatar.Root className="h-8 w-8 rounded-lg">
<Avatar.Image src={user?.url} alt={userName} />
<Avatar.Fallback className="rounded-lg">SM</Avatar.Fallback>
<Avatar.Fallback className="rounded-lg">{getInitials(userName)}</Avatar.Fallback>
</Avatar.Root>
<div className="grid flex-1 text-left text-sm leading-tight">
<span className="truncate font-semibold">{userName}</span>
Expand Down

0 comments on commit 18d68cd

Please sign in to comment.