This commit is contained in:
2025-10-05 22:48:15 -06:00
parent bb0b11edbc
commit d09c99f1a9
6 changed files with 1136 additions and 132 deletions

View File

@@ -2,6 +2,7 @@ import Documents from './pages/Documents';
import Datastage from './pages/Datastage';
import Agenda from './pages/Agenda';
import Vucem from './pages/Vucem';
import Auditor from './pages/Auditor';
import { BrowserRouter, Routes, Route, useLocation } from 'react-router-dom';
import { UserProvider } from './context/UserContext';
import Navbar from './components/Navbar';
@@ -122,6 +123,12 @@ function AppContent() {
<Vucem />
</RequireAuth>
} />
{/* Ruta para Auditor */}
<Route path="/auditor" element={
<RequireAuth>
<Auditor />
</RequireAuth>
} />
</Routes>
</Layout>
);