feat: Implement task notes functionality with CRUD operations and integrate into project tasks section

This commit is contained in:
Chop
2025-06-03 20:46:37 +02:00
parent a9afebdda5
commit 330744daf9
9 changed files with 309 additions and 20 deletions

View File

@@ -1,7 +1,8 @@
import ProjectForm from "@/components/ProjectForm";
export default async function EditProjectPage({ params }) {
const res = await fetch(`http://localhost:3000/api/projects/${params.id}`, {
const { id } = await params;
const res = await fetch(`http://localhost:3000/api/projects/${id}`, {
cache: "no-store",
});
const project = await res.json();