import { getDictionary } from "@/lib/dictionaries";
import { AuthClient } from "./auth-client";

export default async function AuthPage({
  params,
}: {
  params: Promise<{ lang: string }>;
}) {
  const { lang } = await params;
  const dict = await getDictionary(lang);

  return <AuthClient dict={dict.auth} lang={lang} />;
}
