feat: Implement task notes functionality with CRUD operations and integrate into project tasks section
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user