File tree 3 files changed +18
-24
lines changed
dev-packages/e2e-tests/test-applications
react-create-hash-router/src
react-router-6-use-routes/src
standard-frontend-react/src
3 files changed +18
-24
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,12 @@ Sentry.init({
18
18
// environment: 'qa', // dynamic sampling bias to keep transactions
19
19
dsn : process . env . REACT_APP_E2E_TEST_DSN ,
20
20
integrations : [
21
- new Sentry . BrowserTracing ( {
22
- routingInstrumentation : Sentry . reactRouterV6Instrumentation (
23
- React . useEffect ,
24
- useLocation ,
25
- useNavigationType ,
26
- createRoutesFromChildren ,
27
- matchRoutes ,
28
- ) ,
21
+ Sentry . browserTracingReactRouterV6Integration ( {
22
+ useEffect : React . useEffect ,
23
+ useLocation,
24
+ useNavigationType,
25
+ createRoutesFromChildren,
26
+ matchRoutes,
29
27
} ) ,
30
28
replay ,
31
29
] ,
Original file line number Diff line number Diff line change @@ -18,14 +18,12 @@ Sentry.init({
18
18
environment : 'qa' , // dynamic sampling bias to keep transactions
19
19
dsn : process . env . REACT_APP_E2E_TEST_DSN ,
20
20
integrations : [
21
- new Sentry . BrowserTracing ( {
22
- routingInstrumentation : Sentry . reactRouterV6Instrumentation (
23
- React . useEffect ,
24
- useLocation ,
25
- useNavigationType ,
26
- createRoutesFromChildren ,
27
- matchRoutes ,
28
- ) ,
21
+ Sentry . browserTracingReactRouterV6Integration ( {
22
+ useEffect : React . useEffect ,
23
+ useLocation,
24
+ useNavigationType,
25
+ createRoutesFromChildren,
26
+ matchRoutes,
29
27
} ) ,
30
28
replay ,
31
29
] ,
Original file line number Diff line number Diff line change @@ -19,14 +19,12 @@ Sentry.init({
19
19
environment : 'qa' , // dynamic sampling bias to keep transactions
20
20
dsn : process . env . REACT_APP_E2E_TEST_DSN ,
21
21
integrations : [
22
- new Sentry . BrowserTracing ( {
23
- routingInstrumentation : Sentry . reactRouterV6Instrumentation (
24
- React . useEffect ,
25
- useLocation ,
26
- useNavigationType ,
27
- createRoutesFromChildren ,
28
- matchRoutes ,
29
- ) ,
22
+ Sentry . browserTracingReactRouterV6Integration ( {
23
+ useEffect : React . useEffect ,
24
+ useLocation,
25
+ useNavigationType,
26
+ createRoutesFromChildren,
27
+ matchRoutes,
30
28
} ) ,
31
29
replay ,
32
30
] ,
You can’t perform that action at this time.
0 commit comments