This commit is contained in:
gpt-engineer-app[bot]
2026-01-27 23:07:04 +00:00
parent 0bfec68fc4
commit d6fc2e43dc
3 changed files with 217 additions and 2 deletions
+2
View File
@@ -6,6 +6,7 @@ import { BrowserRouter, Routes, Route } from "react-router-dom";
import Index from "./pages/Index";
import NotFound from "./pages/NotFound";
import ResetPassword from "./pages/ResetPassword";
import Profile from "./pages/Profile";
import { useCartSync } from "./hooks/useCartSync";
const queryClient = new QueryClient();
@@ -18,6 +19,7 @@ function AppContent() {
<Routes>
<Route path="/" element={<Index />} />
<Route path="/reset-password" element={<ResetPassword />} />
<Route path="/profile" element={<Profile />} />
{/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */}
<Route path="*" element={<NotFound />} />
</Routes>