This commit is contained in:
BuildTools
2025-12-20 00:10:48 +01:00
parent f765e9de71
commit 9a269f49e9
2 changed files with 1 additions and 1 deletions

29
app/[locale]/layout.tsx Normal file
View File

@@ -0,0 +1,29 @@
import type { Metadata } from 'next';
import { NextIntlClientProvider } from 'next-intl';
import '@/app/globals.css';
export const metadata: Metadata = {
title: 'GSH Digital Services',
description: ''
};
type Props = {
params: {
locale: string;
},
children: React.ReactNode;
};
export default async function RootLayout({ params, children }: Props) {
const { locale } = await params;
return (
<html lang={locale}>
<body>
<NextIntlClientProvider>
{children}
</NextIntlClientProvider>
</body>
</html>
);
}