This commit is contained in:
gpt-engineer-app[bot]
2026-01-27 23:05:30 +00:00
parent cba635b8f9
commit 2ea67737c3
4 changed files with 285 additions and 36 deletions
+2
View File
@@ -5,6 +5,7 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { BrowserRouter, Routes, Route } from "react-router-dom";
import Index from "./pages/Index";
import NotFound from "./pages/NotFound";
import ResetPassword from "./pages/ResetPassword";
import { useCartSync } from "./hooks/useCartSync";
const queryClient = new QueryClient();
@@ -16,6 +17,7 @@ function AppContent() {
<BrowserRouter>
<Routes>
<Route path="/" element={<Index />} />
<Route path="/reset-password" element={<ResetPassword />} />
{/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */}
<Route path="*" element={<NotFound />} />
</Routes>