Skip to content

Commit

Permalink
Fix docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Dec 18, 2021
1 parent d591e65 commit 27beca5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/concepts/router.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@ fn create(ctx: &Context<Self>) -> Self {

#### Specifying query parameters when navigating

In order to specify query parameters when navigating to a new route, use either `location.push_with_query` or
the `location.replace_with_query` functions. It uses `serde` to serialize the parameters into query string for the URL so
In order to specify query parameters when navigating to a new route, use either `navigator.push_with_query` or
the `navigator.replace_with_query` functions. It uses `serde` to serialize the parameters into query string for the URL so
any type that implements `Serialize` can be passed. In its simplest form this is just a `HashMap` containing string
pairs.

Expand Down

0 comments on commit 27beca5

Please sign in to comment.