Replace NotFound usages with FourOhFourPage

cgen-46a7da36d7344f7c8dbc3803d8a2983d
This commit is contained in:
Builder.io 2025-09-30 08:22:45 +00:00
parent b6b8815f77
commit 71f44d31af

View file

@ -99,9 +99,9 @@ const App = () => (
<Route path="/terms" element={<Terms />} />
{/* Explicit 404 route for static hosting fallbacks */}
<Route path="/404" element={<NotFound />} />
<Route path="/404" element={<FourOhFourPage />} />
{/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */}
<Route path="*" element={<NotFound />} />
<Route path="*" element={<FourOhFourPage />} />
</Routes>
</PageTransition>
</BrowserRouter>