import { setRequestLocale } from "next-intl/server";
import { ServerPropertiesForm } from "@/components/servers/server-properties-form";

interface ServerPropertiesPageProps {
  params: Promise<{ locale: string; id: string }>;
}

export default async function ServerPropertiesPage({ params }: ServerPropertiesPageProps) {
  const { locale, id } = await params;
  setRequestLocale(locale);

  return <ServerPropertiesForm serverId={id} />;
}
