mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-25 17:49:48 +00:00
fix(ui): fix SlotClone error in file card by reformatting DropdownMenuTrigger
This commit is contained in:
@@ -177,9 +177,5 @@ export function FileBrowserContextMenu({
|
||||
</ContextMenuContent>
|
||||
)
|
||||
|
||||
return (
|
||||
<>
|
||||
{contextMenuContent}
|
||||
</>
|
||||
)
|
||||
return <>{contextMenuContent}</>
|
||||
}
|
||||
|
||||
@@ -267,7 +267,8 @@ export function FileCard({
|
||||
</p>
|
||||
</div>
|
||||
<DropdownMenu modal={false}>
|
||||
<DropdownMenuTrigger asChild> <Button
|
||||
<DropdownMenuTrigger asChild>
|
||||
<Button
|
||||
size="icon-sm"
|
||||
variant="ghost"
|
||||
className="cursor-pointer"
|
||||
|
||||
Reference in New Issue
Block a user