separate dashboard page components

This commit is contained in:
Ishaan Dey
2024-04-18 14:42:47 -04:00
parent 11dfc0f637
commit 5045c4ce9a
7 changed files with 259 additions and 38 deletions

View File

@ -15,7 +15,13 @@ import {
export default function ProjectCardDropdown({ sandbox }: { sandbox: Sandbox }) {
return (
<DropdownMenu>
<DropdownMenuTrigger className="h-6 w-6 flex items-center justify-center transition-colors bg-transparent hover:bg-muted-foreground/25 rounded-sm">
<DropdownMenuTrigger
onClick={(e) => {
e.preventDefault()
e.stopPropagation()
}}
className="h-6 w-6 flex items-center justify-center transition-colors bg-transparent hover:bg-muted-foreground/25 rounded-sm"
>
<Ellipsis className="w-4 h-4" />
</DropdownMenuTrigger>
<DropdownMenuContent className="w-40">