dev-restructure

This commit is contained in:
Rama Priyanto 2024-11-18 11:27:57 +07:00
parent 900468d2c6
commit 3e4dedfff7
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,14 @@
"use client";
import EditGeneratedArticle from "@/components/form/article/edit-generated-article";
import { Card } from "@nextui-org/react";
import { useParams } from "next/navigation";
export default function EditGeneratedArticlePage() {
const params = useParams();
const id = String(params.id);
return (
<Card className="rounded-md border bg-transparent">
<EditGeneratedArticle id={id} />
</Card>
);
}

View File

@ -0,0 +1,4 @@
export default function EditGeneratedArticle(props: { id: string }) {
const { id } = props;
return <div>{id}</div>;
}