Manuelle reports

This commit is contained in:
PxlLoewe
2025-07-27 13:45:13 -07:00
parent 453ad28538
commit 89a0eb7135
6 changed files with 163 additions and 12 deletions

View File

@@ -0,0 +1,21 @@
import { NewReportForm } from "(app)/admin/report/_components/NewReport";
const Page = async ({
searchParams,
}: {
searchParams?: {
[key: string]: string | undefined;
};
}) => {
const params = await searchParams;
console.log("searchParams", params);
return (
<NewReportForm
defaultValues={{
reportedUserId: params?.reportedUserId || "",
}}
/>
);
};
export default Page;