Skip to content

Commit

Permalink
docs(hooks/use-fetcher): fix typo (#10168)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottDalessandro authored Oct 29, 2024
1 parent 80fd7e7 commit 1aef854
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@
- schpet
- scott-erickson
- scottybrown
- ScottDalessandro
- sdavids
- sean-roberts
- SeanGroff
Expand Down
2 changes: 1 addition & 1 deletion docs/hooks/use-fetcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function SomeComponent() {

### `key`

By default, `useFetcher` generate a unique fetcher scoped to that component (however, it may be looked up in [`useFetchers()`][use_fetchers] while in-flight). If you want to identify a fetcher with your own key such that you can access it from elsewhere in your app, you can do that with the `key` option:
By default, `useFetcher` generates a unique fetcher scoped to that component (however, it may be looked up in [`useFetchers()`][use_fetchers] while in-flight). If you want to identify a fetcher with your own key such that you can access it from elsewhere in your app, you can do that with the `key` option:

```tsx lines=[2,8]
function AddToBagButton() {
Expand Down

0 comments on commit 1aef854

Please sign in to comment.