Skip to content

Commit

Permalink
Update docs/platforms/javascript/guides/react/features/react-router.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Sigrid Huemer <32902192+s1gr1d@users.noreply.github.com>
  • Loading branch information
Lms24 and s1gr1d committed Jul 26, 2024
1 parent 934e132 commit 8edf38e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ _(Available in version 7 and above)_

To use React Router v6 with Sentry:

Add `Sentry.reactRouterV6BrowserTracingIntegration` instead of the regular `Sentry.browserTracingIntegration` and provide the required react functions:
Add `Sentry.reactRouterV6BrowserTracingIntegration` instead of the regular `Sentry.browserTracingIntegration` and provide the required React hooks and router functions:

- `useEffect` hook from `react`
- `useLocation` and `useNavigationType` hooks from `react-router-dom`
Expand Down

0 comments on commit 8edf38e

Please sign in to comment.