Some checks failed
Deploy MineGeo to Dokploy / deploy (push) Failing after 11m31s
23 lines
644 B
TypeScript
23 lines
644 B
TypeScript
import { notFound } from "next/navigation";
|
|
import { z } from "zod";
|
|
import { Header, Footer } from "@/components/Shell";
|
|
import { SupportConversation } from "@/components/Support";
|
|
export const metadata = { robots: { index: false, follow: false } };
|
|
export default async function Report({
|
|
params,
|
|
}: {
|
|
params: Promise<{ id: string }>;
|
|
}) {
|
|
const { id } = await params;
|
|
if (!z.string().uuid().safeParse(id).success) notFound();
|
|
return (
|
|
<>
|
|
<Header />
|
|
<main className="section page-content" id="main-content" tabIndex={-1}>
|
|
<SupportConversation key={id} id={id} />
|
|
</main>
|
|
<Footer />
|
|
</>
|
|
);
|
|
}
|