fix: remove debug console.log from root layout
This commit is contained in:
1 parent
7e5813bd97
commit
e5b0649bf1
9 files changed
+380209
-71
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user