Files
netrunner-landing/app/[lang]/docs/page.tsx
T

14 lines
327 B
TypeScript

import { getDictionary } from "@/lib/dictionaries";
import { DocsClient } from "./docs-client";
export default async function DocsPage({
params,
}: {
params: Promise<{ lang: string }>;
}) {
const { lang } = await params;
const dict = await getDictionary(lang);
return <DocsClient dict={dict.docs} lang={lang} />;
}