File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,14 @@ export function reactRouterV6BrowserTracingIntegration(
84
84
85
85
return {
86
86
...integration ,
87
+ setup ( ) {
88
+ _useEffect = useEffect ;
89
+ _useLocation = useLocation ;
90
+ _useNavigationType = useNavigationType ;
91
+ _matchRoutes = matchRoutes ;
92
+ _createRoutesFromChildren = createRoutesFromChildren ;
93
+ _stripBasename = stripBasename || false ;
94
+ } ,
87
95
afterAllSetup ( client ) {
88
96
integration . afterAllSetup ( client ) ;
89
97
@@ -99,13 +107,6 @@ export function reactRouterV6BrowserTracingIntegration(
99
107
} ) ;
100
108
}
101
109
102
- _useEffect = useEffect ;
103
- _useLocation = useLocation ;
104
- _useNavigationType = useNavigationType ;
105
- _matchRoutes = matchRoutes ;
106
- _createRoutesFromChildren = createRoutesFromChildren ;
107
- _stripBasename = stripBasename || false ;
108
-
109
110
if ( instrumentNavigation ) {
110
111
CLIENTS_WITH_INSTRUMENT_NAVIGATION . push ( client ) ;
111
112
}
You can’t perform that action at this time.
0 commit comments