chore: add the new menu for private mode - admin

This commit is contained in:
Rodolfo Ruiz
2025-08-28 20:58:02 -06:00
parent e85a401209
commit 91ed5ccaa5
2 changed files with 301 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ import { useState } from 'react';
import { AppBar, Toolbar, Typography, IconButton, Box, Avatar } from '@mui/material';
import MenuDrawer from './MenuDrawer';
import MenuDrawerPrivate from './MenuDrawerPrivate';
import { useAuth } from '../context/AuthContext';
import { useNavigate } from 'react-router-dom';
@@ -86,7 +87,7 @@ export default function AppHeader({ zone = 'public', onSelectMenuItem }) {
)}
</Box>
<MenuDrawer
<MenuDrawerPrivate
zone="private"
onSelect={handleMenuSelect}
onExpandedChange={(expanded) => setDrawerExpanded(expanded)}