Skip to content

Commit

Permalink
docs: typo in 16_routes.md
Browse files Browse the repository at this point in the history
Fixed grammar
  • Loading branch information
aperepel authored Jul 20, 2023
1 parent 338d2ab commit 4b8cc96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/src/router/16_routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use leptos_router::*;

Routing behavior is provided by the [`<Router/>`](https://docs.rs/leptos_router/latest/leptos_router/fn.Router.html) component. This should usually be somewhere near the root of your application, the rest of the app.

> You shouldn’t try to use multiple `<Router/>`s in your app. Remember that the router drives global state: if you have multiple routers, which ones decides what to do when the URL changes?
> You shouldn’t try to use multiple `<Router/>`s in your app. Remember that the router drives global state: if you have multiple routers, which one decides what to do when the URL changes?
Let’s start with a simple `<App/>` component using the router:

Expand Down

0 comments on commit 4b8cc96

Please sign in to comment.