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