fix: agregar perfil al router

This commit is contained in:
Sofía Maturana 2026-04-25 10:36:31 -04:00
parent d6c48759db
commit e6e2f40bb2

View file

@ -8,6 +8,7 @@ import Register from "./pages/Register";
import "./App.css"; import "./App.css";
import NotFound from "./pages/NotFound"; import NotFound from "./pages/NotFound";
import Pizza from "./pages/Pizza"; import Pizza from "./pages/Pizza";
import Profile from "./pages/Profile.jsx";
function App() { function App() {
return ( return (
@ -20,6 +21,7 @@ function App() {
<Route path="/register" element={<Register />} /> <Route path="/register" element={<Register />} />
<Route path="/pizza/p001" element={<Pizza />} /> <Route path="/pizza/p001" element={<Pizza />} />
<Route path="/cart" element={<Cart />} /> <Route path="/cart" element={<Cart />} />
<Route path="/profile" element={<Profile />} />
<Route path="*" element={<NotFound />} /> <Route path="*" element={<NotFound />} />
</Routes> </Routes>
</main> </main>