import { getTranslations } from "next-intl/server"; import { siteSettings } from "@/lib/services/site-settings"; import { RegisterForm } from "@/components/auth/register-form"; import { captchaConfig } from "@/lib/services/captcha"; export const revalidate = 300; export default async function RegisterPage({ searchParams, }: { searchParams: Promise<{ error?: string }>; }) { const t = await getTranslations("pages.register"); const { error } = await searchParams; const [hotelName, captcha] = await Promise.all([ siteSettings.get("hotel_name", "Atom"), captchaConfig(), ]); return (

{t("title")}

); }