This commit is contained in:
hailin 2025-03-12 16:10:08 +08:00
parent d0c5c34882
commit b3c8a40c2a
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ export default async function RootLayout({
//const pathname = usePathname(); // 获取当前页面路径
// 如果路径是某些特定页面(例如 /auth则不渲染 Header
const showHeader = !pathname.startsWith('/auth');
//const showHeader = !pathname.startsWith('/auth');
return (
<html lang={locale} dir={dir(locale)} suppressHydrationWarning>