Skip to content

Commit

Permalink
Fix markdown link
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Apr 2, 2024
1 parent ea9fa52 commit b07921e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/hooks/use-params.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ function SomeComponent() {
}
```

Assuming a route like `routes/posts/$postId.tsx` is matched by `/posts/123` then `params.postId` will be `"123"`. Params for \[splat routes]\[splat-routes] are available as `params["*"]`.
Assuming a route like `routes/posts/$postId.tsx` is matched by `/posts/123` then `params.postId` will be `"123"`. Params for [splat routes][splat-routes] are available as `params["*"]`.

[splat-params]: ../file-conventions/routes#splat-routes
[splat-routes]: ../file-conventions/routes#splat-routes

0 comments on commit b07921e

Please sign in to comment.