attached i18n to html language
This commit is contained in:
@@ -3,11 +3,13 @@ import { inter } from '@/app/ui/fonts';
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
params: { locale },
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
params: { locale:string };
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<html lang={locale}>
|
||||
<body className={`${inter.className} antialiased`}>{children}</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user