diff --git a/apps/blogai/app/[locale]/layout.tsx b/apps/blogai/app/[locale]/layout.tsx index 49a0eaa..1b598e3 100644 --- a/apps/blogai/app/[locale]/layout.tsx +++ b/apps/blogai/app/[locale]/layout.tsx @@ -73,7 +73,7 @@ export default async function RootLayout({ const { t, resources } = await initTranslations(locale, i18nNamespaces); - const pathname = usePathname(); // 获取当前页面路径 + //const pathname = usePathname(); // 获取当前页面路径 // 如果路径是某些特定页面(例如 /auth),则不渲染 Header const showHeader = !pathname.startsWith('/auth');