Skip to content

Commit 5918335

Browse files
committed
Adapt to breaking changes
1 parent 5c6acaf commit 5918335

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/initializer.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
import { BrowserTracing } from "@sentry/browser";
1817
import i18n from "i18next";
1918
import { initReactI18next } from "react-i18next";
2019
import LanguageDetector from "i18next-browser-languagedetector";
@@ -160,10 +159,7 @@ export class Initializer {
160159
dsn: Config.get().sentry?.DSN,
161160
environment: Config.get().sentry?.environment,
162161
integrations: [
163-
new BrowserTracing({
164-
routingInstrumentation:
165-
Sentry.reactRouterV5Instrumentation(history),
166-
}),
162+
Sentry.reactRouterV5BrowserTracingIntegration({ history }),
167163
],
168164
tracesSampleRate: 1.0,
169165
});

0 commit comments

Comments
 (0)