import { setRequestLocale } from "next-intl/server";
import { ServerBackups } from "@/components/servers/server-backups";

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

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

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