14 lines
348 B
TypeScript
14 lines
348 B
TypeScript
// app/[lang]/nodes/page.tsx
|
|
import { getDictionary } from "@/lib/dictionaries";
|
|
import { NodesClient } from "./nodes-client";
|
|
|
|
export default async function NodesPage({
|
|
params,
|
|
}: {
|
|
params: Promise<{ lang: string }>;
|
|
}) {
|
|
const { lang } = await params;
|
|
const dict = await getDictionary(lang);
|
|
return <NodesClient dict={dict.nodes} />;
|
|
}
|