Skip to content

Commit bee306f

Browse files
mydeas1gr1d
andauthored
Apply batched suggestions from code review
Co-authored-by: Sigrid <32902192+s1gr1d@users.noreply.github.com>
1 parent f3cb13e commit bee306f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎MIGRATION.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@ Affected SDKs: `@sentry/react-router`.
12391239
+ import { sentryOnBuildEnd } from '@sentry/react-router/vite';
12401240
```
12411241
1242-
### React: simpler React Router setup via `@sentry/react/router`
1242+
### React: Simpler React Router setup via `@sentry/react/router`
12431243
12441244
Affected SDKs: `@sentry/react`.
12451245

‎packages/react/src/router.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type BrowserTracingOptions = Parameters<typeof browserTracingIntegration>[0];
2929
* Sentry.init({ integrations: [reactRouterBrowserTracingIntegration()] });
3030
* ```
3131
*
32-
* Any of the hooks can still be overridden via `options` (e.g. to supply the `react-router-dom` versions).
32+
* Any of the hooks can still be overridden via `options` (e.g. to supply the `react-router-dom` versions in v6).
3333
*
3434
* This requires `react-router` to be resolvable (it is declared as an optional peer dependency). If you are on
3535
* React Router v6 with only `react-router-dom` installed, either add `react-router` as a dependency or import

0 commit comments

Comments
 (0)