Skip to content

Commit

Permalink
fix: close profile dropdown on first click when navigating (#8824)
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidSumra authored Oct 18, 2024
1 parent b373a0d commit 2778b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Common/Sidebar/SidebarUserCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const SidebarUserCard: React.FC<SidebarUserCardProps> = ({ shrinked }) => {
<div
className={` ${shrinked ? "space-y-2 px-2" : "flex items-center px-4"}`}
>
<DropdownMenu>
<DropdownMenu modal={false}>
<DropdownMenuTrigger asChild>
<Button
variant="outline"
Expand Down

0 comments on commit 2778b49

Please sign in to comment.