Skip to content

Commit

Permalink
fix: apply error boundary to all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
NoamGaash committed Dec 16, 2023
1 parent 245eee9 commit fdac832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const getRoutesList = () => {
return (
<Route element={<MainRoute />}>
{routes.map(({ path, element }) => (
<Route key={path} path={path} element={element} />
<Route key={path} path={path} element={element} ErrorBoundary={ErrorPage} />
))}
<Route
path="/profile/:gtfsRideGtfsRouteId"
Expand Down

0 comments on commit fdac832

Please sign in to comment.