Skip to content

Commit

Permalink
fix RR leaf route without element warning
Browse files Browse the repository at this point in the history
  • Loading branch information
david-crespo committed Dec 11, 2024
1 parent 7c7f9b7 commit fb4ede5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ export const routes = createRoutesFromElements(
<Route path="routers" handle={{ crumb: 'Routers' }}>
<Route path=":router" {...RouterPage} handle={makeCrumb((p) => p.router!)}>
<Route handle={{ crumb: 'Routes' }}>
<Route index />
<Route index element={null} />
<Route
path="routes-new"
element={<CreateRouterRouteSideModalForm />}
Expand Down

0 comments on commit fb4ede5

Please sign in to comment.