Skip to content

Commit

Permalink
chore(review): review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
code-forger committed Oct 12, 2023
1 parent 87af851 commit 520cd97
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 @@ -597,7 +597,7 @@ To overcome this, you can specify a function instead of a `headers` object in th
This function will be called, to re-make the headers just before an API call is made, even when you call `run`.
Note: You still need to remove dynamic keys from the options using `mapOptionsToKey` otherwise these dynamic headers will bust your cache!
Note: If you don't want the dynamic headers to result in a cache miss, you must remove the keys of the dynamic headers from the options using `mapOptionsToKey` (see example below).
```jsx
import React from 'react';
Expand Down

0 comments on commit 520cd97

Please sign in to comment.