Changes
This commit is contained in:
@@ -13,6 +13,8 @@ import Checkout from "./pages/Checkout";
|
||||
import Dashboard from "./pages/Dashboard";
|
||||
import Admin from "./pages/Admin";
|
||||
import Bootcamp from "./pages/Bootcamp";
|
||||
import Events from "./pages/Events";
|
||||
import AdminEvents from "./pages/admin/AdminEvents";
|
||||
import NotFound from "./pages/NotFound";
|
||||
|
||||
const queryClient = new QueryClient();
|
||||
@@ -32,7 +34,13 @@ const App = () => (
|
||||
<Route path="/products/:slug" element={<ProductDetail />} />
|
||||
<Route path="/checkout" element={<Checkout />} />
|
||||
<Route path="/dashboard" element={<Dashboard />} />
|
||||
<Route path="/access" element={<Dashboard />} />
|
||||
<Route path="/orders" element={<Dashboard />} />
|
||||
<Route path="/profile" element={<Dashboard />} />
|
||||
<Route path="/events" element={<Events />} />
|
||||
<Route path="/admin" element={<Admin />} />
|
||||
<Route path="/admin/products" element={<Admin />} />
|
||||
<Route path="/admin/events" element={<AdminEvents />} />
|
||||
<Route path="/bootcamp/:slug" element={<Bootcamp />} />
|
||||
<Route path="*" element={<NotFound />} />
|
||||
</Routes>
|
||||
|
||||
Reference in New Issue
Block a user