chore: Update Sentry deps

This commit is contained in:
Tom Moor
2024-02-03 16:42:26 -05:00
parent c3b515f0e1
commit 176a0451fc
3 changed files with 82 additions and 96 deletions

View File

@@ -1,5 +1,5 @@
import { BrowserTracing } from "@sentry/browser";
import * as Sentry from "@sentry/react";
import { Integrations } from "@sentry/tracing";
import { History } from "history";
import env from "~/env";
@@ -11,7 +11,7 @@ export function initSentry(history: History) {
tunnel: env.SENTRY_TUNNEL,
allowUrls: [env.URL, env.CDN_URL, env.COLLABORATION_URL],
integrations: [
new Integrations.BrowserTracing({
new BrowserTracing({
routingInstrumentation: Sentry.reactRouterV5Instrumentation(history),
}),
],