Skip to content

Commit 59117a6

Browse files
authored
Docs: Fix example
1 parent edf4ba2 commit 59117a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ createRouter({
117117
Router value contains parsed url search params:
118118

119119
```js
120-
createRouter({ home: '/posts/:category?sort=name' })
120+
createRouter({ home: '/posts/:category' })
121121

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

0 commit comments

Comments
 (0)