Refactor: Implement type safety and error handling

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 13:05:59 +00:00
parent 0ff424fcee
commit 3d61d738f2
4 changed files with 65 additions and 6 deletions

View File

@@ -31,6 +31,7 @@ import OperatorDetail from "./pages/OperatorDetail";
import OperatorParks from "./pages/OperatorParks";
import Auth from "./pages/Auth";
import Profile from "./pages/Profile";
import ParkRides from "./pages/ParkRides";
import UserSettings from "./pages/UserSettings";
import Search from "./pages/Search";
import NotFound from "./pages/NotFound";
@@ -77,6 +78,7 @@ function AppContent() {
<Route path="/" element={<Index />} />
<Route path="/parks" element={<Parks />} />
<Route path="/parks/:slug" element={<ParkDetail />} />
<Route path="/parks/:parkSlug/rides" element={<ParkRides />} />
<Route path="/parks/:parkSlug/rides/:rideSlug" element={<RideDetail />} />
<Route path="/rides" element={<Rides />} />
<Route path="/search" element={<Search />} />