Skip to content

Commit

Permalink
Docs: Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
tordans authored May 19, 2024
1 parent 5c984ac commit f26cc8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ createRouter({
Router value contains parsed url search params:

```js
createRouter({ home: '/posts/:category?sort=name' })
createRouter({ home: '/posts/:category' })

location.href = '/posts/general?sort=name'
router.get() //=> {
Expand Down

0 comments on commit f26cc8f

Please sign in to comment.