Skip to content

Commit

Permalink
Fix the link format for useRoutes
Browse files Browse the repository at this point in the history
Fixes #9100
  • Loading branch information
timdorr committed Jul 27, 2022
1 parent f2178b9 commit 351a2a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/components/route.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Whenever the location changes, `<Routes>` looks through all its `children` `<Rou
> **Note:**
>
> If you'd prefer to define your routes as regular JavaScript objects instead
> of using JSX, [try `useRoutes` instead](use-routes).
> of using JSX, [try `useRoutes` instead][use-routes].
The default `<Route element>` is an [`<Outlet>`][outlet]. This means the route will still render its children even without an explicit `element` prop, so you can nest route paths without nesting UI around the child route elements.

Expand Down

0 comments on commit 351a2a3

Please sign in to comment.