Skip to content

Commit 154c074

Browse files
committed
fix typo in readme
1 parent f573591 commit 154c074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ through the link's properties.
339339
Given a route like `<Route name="user" path="/users/:userId"/>`:
340340

341341
```xml
342-
<Link to="user" userId={user.id} params={{foo: bar}}>{user.name}</Link>
342+
<Link to="user" userId={user.id} query={{foo: bar}}>{user.name}</Link>
343343
<!-- becomes one of these depending on your router and if the route is
344344
active -->
345345
<a href="/users/123?foo=bar" class="active">Michael</a>

0 commit comments

Comments
 (0)