Skip to content

Commit 3ff4229

Browse files
authored
Consistently use wrapCreateBrowserRouterV6 (#12081)
There were a few places on this page still using the deprecated `wrapCreateBrowserRouter` method.
1 parent 211f61b commit 3ff4229

File tree

1 file changed

+2
-2
lines changed
  • docs/platforms/javascript/guides/react/features/react-router

1 file changed

+2
-2
lines changed

docs/platforms/javascript/guides/react/features/react-router/v6.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const router = sentryCreateBrowserRouter([
6868

6969
<Alert level="warning" title="Note">
7070

71-
You can instrument [`createMemoryRouter`](https://reactrouter.com/en/main/routers/create-memory-router) and [`createHashRouter`](https://reactrouter.com/en/main/routers/create-hash-router) using the `wrapCreateBrowserRouter` function.
71+
You can instrument [`createMemoryRouter`](https://reactrouter.com/en/main/routers/create-memory-router) and [`createHashRouter`](https://reactrouter.com/en/main/routers/create-hash-router) using the `wrapCreateBrowserRouterV6` function.
7272

7373
</Alert>
7474

@@ -234,4 +234,4 @@ export function YourCustomRootErrorBoundary() {
234234
## Next Steps:
235235

236236
- [Return to **Getting Started**](../../)
237-
- [Return to the main integrations page](../)
237+
- [Return to the main integrations page](../)

0 commit comments

Comments
 (0)