fix: agregar perfil al router
This commit is contained in:
parent
d6c48759db
commit
e6e2f40bb2
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ import Register from "./pages/Register";
|
|||
import "./App.css";
|
||||
import NotFound from "./pages/NotFound";
|
||||
import Pizza from "./pages/Pizza";
|
||||
import Profile from "./pages/Profile.jsx";
|
||||
|
||||
function App() {
|
||||
return (
|
||||
|
|
@ -20,6 +21,7 @@ function App() {
|
|||
<Route path="/register" element={<Register />} />
|
||||
<Route path="/pizza/p001" element={<Pizza />} />
|
||||
<Route path="/cart" element={<Cart />} />
|
||||
<Route path="/profile" element={<Profile />} />
|
||||
<Route path="*" element={<NotFound />} />
|
||||
</Routes>
|
||||
</main>
|
||||
|
|
|
|||
Loading…
Reference in a new issue