import type { ReactNode } from 'react'; import { RootProvider } from 'fumadocs-ui/provider/next'; import { i18nUI } from '@/lib/i18n'; export default async function LangLayout({ params, children, }: { params: Promise<{ lang: string }>; children: ReactNode; }) { const { lang } = await params; return (