import { getDictionary, Locale } from "@/app/dictionaries";
import LoginForm from "./LoginForm";

export default async function LoginPage(
  props: {
    params: Promise<{ lang: string }>;
  }
) {
  const params = await props.params;

  const dict = await getDictionary(params.lang as Locale);
  return <LoginForm dict={dict.login} lang={params.lang} />;
}
