chore: merge executor worktree (worktree-agent-a44f854f45ac76582)

This commit is contained in:
2026-06-15 10:28:07 +02:00
3 changed files with 643 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import { notFound } from "next/navigation";
import { getOfferEditorData, getOfferFieldOptions } from "@/lib/offer-queries";
import { OfferEditorClient } from "@/components/admin/offers/OfferEditorClient";
export const revalidate = 0;
export default async function OfferEditPage({
params,
}: {
params: Promise<{ id: string }>;
}) {
const { id } = await params;
const [data, options] = await Promise.all([
getOfferEditorData(id),
getOfferFieldOptions(),
]);
if (!data) {
notFound();
}
return <OfferEditorClient data={data} fieldOptions={options} />;
}