Skip to content

Commit d345dfb

Browse files
committed
fix: the nested button issue in action buttons
1 parent d8da5b2 commit d345dfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dashboard/src/components/ActionButtons.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@ const ActionButtons: FC<ActionButtonsProps> = ({ user }) => {
365365
/>
366366
<Tooltip open={copied ? true : undefined}>
367367
<DropdownMenu>
368-
<DropdownMenuTrigger>
369-
<TooltipTrigger>
368+
<DropdownMenuTrigger asChild>
369+
<TooltipTrigger asChild>
370370
<Button size="icon" variant="ghost">
371371
{copied ? <Check className="h-4 w-4" /> : <Copy className="h-4 w-4" />}
372372
</Button>

0 commit comments

Comments
 (0)