+ Changelog Funktionalität

completed #95
This commit is contained in:
nocnico
2025-07-24 16:33:10 +02:00
parent 0b0f4fac2f
commit 0c80c046e1
14 changed files with 478 additions and 23 deletions

View File

@@ -0,0 +1,13 @@
import { prisma } from "@repo/db";
import { ChangelogForm } from "../_components/Form";
export default async function Page({ params }: { params: Promise<{ id: string }> }) {
const { id } = await params;
const changelog = await prisma.changelog.findUnique({
where: {
id: parseInt(id),
},
});
if (!changelog) return <div>Changelog not found</div>;
return <ChangelogForm changelog={changelog} />;
}