diff --git a/apps/web/src/app/projects/page.tsx b/apps/web/src/app/projects/page.tsx index ad1c0c0..82bae5d 100644 --- a/apps/web/src/app/projects/page.tsx +++ b/apps/web/src/app/projects/page.tsx @@ -1,6 +1,7 @@ "use client"; import Link from "next/link"; +import { useState } from "react"; import { Button } from "@/components/ui/button"; import { Card, CardContent } from "@/components/ui/card"; import { @@ -127,6 +128,8 @@ export default function ProjectsPage() { } function ProjectCard({ project }: { project: TProject }) { + const [isDropdownOpen, setIsDropdownOpen] = useState(false); + const formatDuration = (seconds: number): string => { const minutes = Math.floor(seconds / 60); const remainingSeconds = Math.floor(seconds % 60); @@ -144,7 +147,11 @@ function ProjectCard({ project }: { project: TProject }) { return ( - + {/* Thumbnail preview */} {project.name} - + e.preventDefault()} > - + { + e.preventDefault(); + e.stopPropagation(); + console.log("close"); + }} + > Rename Duplicate