Skip to content

Commit

Permalink
Fix: Dropdown Menu
Browse files Browse the repository at this point in the history
Profile dropdown menu will now close on click.
  • Loading branch information
sudo-adduser-jordan committed Jul 10, 2023
1 parent e2b8c84 commit f9cdf85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ const AccountMenu = () => {
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end">
<DropdownMenuItem>
<DropdownMenuItem asChild>
<Link href="/dashboard" className="flex gap-1 items-center">
<Icons.settings className="mr-2 h-4 w-4" />
<span>Dashboard</span>
</Link>
</DropdownMenuItem>
<DropdownMenuItem>
<DropdownMenuItem asChild>
<Link href="/profile" className="flex gap-1 items-center">
<Icons.settings className="mr-2 h-4 w-4" />
<span>Profile</span>
Expand Down

0 comments on commit f9cdf85

Please sign in to comment.