Phase2
This commit is contained in:
13
apps/web/src/app/[locale]/servers/new/page.tsx
Normal file
13
apps/web/src/app/[locale]/servers/new/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { setRequestLocale } from "next-intl/server";
|
||||
import { CreateServerForm } from "@/components/servers/create-server-form";
|
||||
|
||||
interface NewServerPageProps {
|
||||
params: Promise<{ locale: string }>;
|
||||
}
|
||||
|
||||
export default async function NewServerPage({ params }: NewServerPageProps) {
|
||||
const { locale } = await params;
|
||||
setRequestLocale(locale);
|
||||
|
||||
return <CreateServerForm />;
|
||||
}
|
||||
Reference in New Issue
Block a user