Changeset a3d63eb for my-react-app/src/App.js
- Timestamp:
- 03/03/24 21:20:11 (15 months ago)
- Branches:
- main
- Children:
- 303f51d
- Parents:
- 748b7f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
my-react-app/src/App.js
r748b7f6 ra3d63eb 14 14 import { CuisineContext } from './components/CuisineContext'; 15 15 import RestaurantInfo from "./components/RestaurantInfo"; 16 import LoginForm from "./components/Login"; 16 17 17 18 const App = () => { … … 30 31 <Route path="/reservationConfirmation/:tableNumber/:timeSlot/:restaurantId" element={<ReservationConfirmation />} /> 31 32 <Route path="/reservations/reservationEdit/:reservationId" element={<ReservationEdit />} /> 33 <Route path={"/login"} exact render={() => <LoginForm login={this.login}/>}/> 32 34 <Route path="/error" element={<ErrorPage/>}/> 33 35 </Routes>
Note:
See TracChangeset
for help on using the changeset viewer.