diff --git a/src/components/layout/AdminHeader.tsx b/src/components/layout/AdminHeader.tsx index 26068bf0..a9302860 100644 --- a/src/components/layout/AdminHeader.tsx +++ b/src/components/layout/AdminHeader.tsx @@ -3,10 +3,13 @@ import { Button } from '@/components/ui/button'; import { Link, useLocation } from 'react-router-dom'; import { ThemeToggle } from '@/components/theme/ThemeToggle'; import { AuthButtons } from '@/components/auth/AuthButtons'; +import { NotificationCenter } from '@/components/notifications/NotificationCenter'; import { useUserRole } from '@/hooks/useUserRole'; +import { useAuth } from '@/hooks/useAuth'; export function AdminHeader({ onRefresh }: { onRefresh?: () => void }) { const { permissions } = useUserRole(); + const { user } = useAuth(); const location = useLocation(); const isSettingsPage = location.pathname === '/admin/settings'; @@ -57,6 +60,7 @@ export function AdminHeader({ onRefresh }: { onRefresh?: () => void }) { )} + {user && }