From 26a6d7fb29d0d593cbf6110f580fc5aee5024202 Mon Sep 17 00:00:00 2001 From: AyrisAI Date: Wed, 15 Jul 2026 15:53:55 +0300 Subject: [PATCH] chore: fix analytics domain and formatting in layout --- app/[locale]/layout.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx index 4ae0ccc..15d3756 100644 --- a/app/[locale]/layout.tsx +++ b/app/[locale]/layout.tsx @@ -31,7 +31,7 @@ const ibmPlexMono = IBM_Plex_Mono({ }); export function generateStaticParams() { - return routing.locales.map((locale) => ({locale})); + return routing.locales.map((locale) => ({ locale })); } export async function generateMetadata({ @@ -87,11 +87,11 @@ export default async function RootLayout({ params: Promise<{ locale: string }>; }>) { const { locale } = await params; - + if (!routing.locales.includes(locale as any)) { notFound(); } - + setRequestLocale(locale); const messages = await getMessages(); @@ -110,7 +110,7 @@ export default async function RootLayout({ {/* VPS Panel Analytics */}