Skip to content

Commit 2fee6ee

Browse files
authored
Merge pull request #55 from Gsync/dev
fix(ui): display user email in profile dropdown instead of static text
2 parents 9aa8e3c + bc39aa5 commit 2fee6ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ProfileDropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function ProfileDropdown({ user, signOutAction }: ProfileDropdownProps) {
3030
<UserAvatar user={user} />
3131
</DropdownMenuTrigger>
3232
<DropdownMenuContent align="end">
33-
<DropdownMenuLabel>My Account</DropdownMenuLabel>
33+
<DropdownMenuLabel>{user?.email ?? "My Account"}</DropdownMenuLabel>
3434
<DropdownMenuSeparator />
3535
<DropdownMenuItem asChild>
3636
<Link href="/dashboard/settings" className="cursor-pointer">

0 commit comments

Comments
 (0)