Skip to content

Commit

Permalink
Merge pull request #139 from spacesuitdiver/patch-1
Browse files Browse the repository at this point in the history
Update patch-network.mdx - fix bad example of patchNetwork
  • Loading branch information
estradino authored Jun 27, 2024
2 parents e4828ad + 057fc1a commit efcbbbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/en/rn-sdk/patch-network.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This method patches XHR and Fetch apis to intercept network requests.
```js
import OR from '@openreplay/react-native'

OR.tracker.patchNetwork(
OR.patchNetwork(
global,
(url) => url.includes('openreplaydomain'),
{ mode: 'fetch' }
Expand Down

0 comments on commit efcbbbd

Please sign in to comment.