Skip to content

Commit

Permalink
fix: dropdown name
Browse files Browse the repository at this point in the history
  • Loading branch information
Rei-x committed Mar 1, 2024
1 parent 594b80d commit f9475d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/Auth.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{#if $page.data.profile}
<DropdownMenu.Root>
<DropdownMenu.Trigger asChild let:builder>
<Button builders={[builder]} variant="outline">Bartosz</Button>
<Button builders={[builder]} variant="outline">{$page.data.profile.first_name}</Button>
</DropdownMenu.Trigger>
<DropdownMenu.Content class="w-56">
<DropdownMenu.Label>Moje konto</DropdownMenu.Label>
Expand Down

0 comments on commit f9475d1

Please sign in to comment.