import { getDictionary } from "@/lib/dictionaries";
import { DownloadClient } from "./download-client";

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

  // Добавили передачу lang
  return <DownloadClient dict={dict.download} lang={lang} />;
}
