14 lines
327 B
TypeScript
14 lines
327 B
TypeScript
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} />;
|
|
}
|