diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 5eb428a..f3db79b 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -9,6 +9,7 @@ import MobileNav from './MobileNav'; import { prisma } from '@/lib/prisma'; import { getCurrentCustomer } from '@/lib/auth'; import { isAdminAuthenticated } from '@/lib/adminAuth'; +import AdminMenu from './AdminMenu'; export default async function Header() { const [categories, collections, customer, isAdmin] = await Promise.all([ @@ -71,11 +72,7 @@ export default async function Header() {
- {isAdmin && ( - - Admin - - )} + {isAdmin && }