From a8e40dd7597de785a04d278a2c4d28ebf650488f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Fri, 16 Feb 2024 17:21:38 +0100 Subject: [PATCH] attached i18n to html language --- app/[locale]/layout.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx index bc3a4c8..021c24e 100644 --- a/app/[locale]/layout.tsx +++ b/app/[locale]/layout.tsx @@ -3,11 +3,13 @@ import { inter } from '@/app/ui/fonts'; export default function RootLayout({ children, + params: { locale }, }: { children: React.ReactNode; + params: { locale:string }; }) { return ( - + {children} );