mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
11 lines
329 B
TypeScript
11 lines
329 B
TypeScript
import { DocsLayout } from "@/components/geistdocs/docs-layout";
|
|
import { source } from "@/lib/geistdocs/source";
|
|
|
|
const Layout = async ({ children, params }: LayoutProps<"/[lang]/docs">) => {
|
|
const { lang } = await params;
|
|
|
|
return <DocsLayout tree={source.pageTree[lang]}>{children}</DocsLayout>;
|
|
};
|
|
|
|
export default Layout;
|