fix: remove debug console.log from root layout

This commit is contained in:
openhands committed 2026-07-03 15:51:33 +02:00
1 parent 7e5813bd97
commit e5b0649bf1
9 files changed
+380209 -71

No files matched your search

-2
View File
@@ -41,8 +41,6 @@ export default async function RootLayout({ children }: { children: ReactNode })
const headersList = await headers();
const pathname = headersList.get("x-pathname") || "";
const isClient = pathname === "/client" || pathname.startsWith("/client/");
console.log(`[RootLayout] pathname: "${pathname}", isClient: ${isClient}`);
return (
<html lang={locale} className={`app ${nunito.variable}`}>
<head>