chore: heygermany customer project
This commit is contained in:
12
apps/website/lib/localized-layout.tsx
Normal file
12
apps/website/lib/localized-layout.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { ReactNode } from 'react'
|
||||
import { I18nProvider } from '@/context/i18n-provider'
|
||||
|
||||
export function LocalizedLayout({
|
||||
lang,
|
||||
children,
|
||||
}: {
|
||||
lang: string
|
||||
children: ReactNode
|
||||
}) {
|
||||
return <I18nProvider lang={lang}>{children}</I18nProvider>
|
||||
}
|
||||
Reference in New Issue
Block a user