File tree Expand file tree Collapse 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 Expand file tree Collapse file tree 3 files changed +18
-24
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,12 @@ Sentry.init({
1818 // environment: 'qa', // dynamic sampling bias to keep transactions
1919 dsn : process . env . REACT_APP_E2E_TEST_DSN ,
2020 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,
2927 } ) ,
3028 replay ,
3129 ] ,
Original file line number Diff line number Diff line change @@ -18,14 +18,12 @@ Sentry.init({
1818 environment : 'qa' , // dynamic sampling bias to keep transactions
1919 dsn : process . env . REACT_APP_E2E_TEST_DSN ,
2020 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,
2927 } ) ,
3028 replay ,
3129 ] ,
Original file line number Diff line number Diff line change @@ -19,14 +19,12 @@ Sentry.init({
1919 environment : 'qa' , // dynamic sampling bias to keep transactions
2020 dsn : process . env . REACT_APP_E2E_TEST_DSN ,
2121 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,
3028 } ) ,
3129 replay ,
3230 ] ,
You can’t perform that action at this time.
0 commit comments