mirror of
http://88.130.71.182:3000/BlitTech/Projet1-RealEstate.git
synced 2026-06-12 23:33:21 +00:00
Add registration route to App component
Added a route for the registration page.
This commit is contained in:
@@ -59,6 +59,7 @@ function App() {
|
|||||||
<Route path="/listings" element={<MainLayout><Listings /></MainLayout>} />
|
<Route path="/listings" element={<MainLayout><Listings /></MainLayout>} />
|
||||||
<Route path="/listings/:id" element={<MainLayout><ListingDetail /></MainLayout>} />
|
<Route path="/listings/:id" element={<MainLayout><ListingDetail /></MainLayout>} />
|
||||||
<Route path="/login" element={<Login />} />
|
<Route path="/login" element={<Login />} />
|
||||||
|
<Route path="/register" element={<Register />} />
|
||||||
|
|
||||||
{/* ADD THIS LINE - The fix for your button */}
|
{/* ADD THIS LINE - The fix for your button */}
|
||||||
<Route path="/register" element={<Register />} />
|
<Route path="/register" element={<Register />} />
|
||||||
|
|||||||
Reference in New Issue
Block a user