Skip to content

Commit

Permalink
correct fetch to fetchFn
Browse files Browse the repository at this point in the history
  • Loading branch information
jd1378 committed Feb 2, 2021
1 parent 6ac6ea1 commit a52bfcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Or

```js
// you can also pass your own fetch function, allowing for wrapping fetch multiple times
const fetch = wrapFetch({ fetch: yourFetch });
const fetch = wrapFetch({ fetchFn: yourFetch });
```

## test
Expand Down

0 comments on commit a52bfcc

Please sign in to comment.