Skip to content

Commit cdfb58e

Browse files
committed
Update Link.md
Line 23 refers to route "/user" Lines 62-66 refer to route "/users"
1 parent 5d0cd2a commit cdfb58e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/components/Link.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Object, the parameters to fill in the dynamic segments of your route.
2020

2121
```js
2222
// given a route config like this
23-
<Route name="user" path="/user/:userId"/>
23+
<Route name="user" path="/users/:userId"/>
2424

2525
// create a link with this
2626
<Link to="user" params={{userId: "123"}}/>

0 commit comments

Comments
 (0)