diff --git a/src/shadcn/ui/dropdown-menu.tsx b/src/shadcn/ui/dropdown-menu.tsx index 3dd35f3..0d41819 100644 --- a/src/shadcn/ui/dropdown-menu.tsx +++ b/src/shadcn/ui/dropdown-menu.tsx @@ -12,7 +12,21 @@ import { cn } from "src/utils" const DropdownMenu = DropdownMenuPrimitive.Root -const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger + + + + +const DropdownMenuTrigger = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)) +DropdownMenuTrigger.displayName = DropdownMenuPrimitive.Trigger.displayName const DropdownMenuGroup = DropdownMenuPrimitive.Group diff --git a/src/shadcn/ui/table.tsx b/src/shadcn/ui/table.tsx index b4fb817..bd34e89 100644 --- a/src/shadcn/ui/table.tsx +++ b/src/shadcn/ui/table.tsx @@ -58,7 +58,7 @@ const TableRow = React.forwardRef<