Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
remix-run-bot committed Apr 2, 2024
1 parent b0af4f8 commit ea9fa52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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

0 comments on commit ea9fa52

Please sign in to comment.