b
This commit is contained in:
@@ -96,7 +96,7 @@ export default async function RootLayout({
|
||||
|
||||
const headersList = await headers();
|
||||
const pathname = headersList.get('x-pathname') || '';
|
||||
const hideNavbarFooter = pathname.includes('/admin') || pathname.includes('/login');
|
||||
const hideNavbarFooter = pathname.includes('/admin') || pathname.includes('/login') || pathname.includes('/widget');
|
||||
|
||||
const categories = await mockDb.getCategories();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user