From 0fcf6debb6a2cf5a72c08758b12b985a5f68a6ae Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 27 Oct 2023 16:07:16 +0100 Subject: [PATCH] Migrate to @sentry/browser --- src/initializer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/initializer.tsx b/src/initializer.tsx index 57000936..dd1e225d 100644 --- a/src/initializer.tsx +++ b/src/initializer.tsx @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import { Integrations } from "@sentry/tracing"; +import { BrowserTracing } from "@sentry/browser"; import i18n from "i18next"; import { initReactI18next } from "react-i18next"; import LanguageDetector from "i18next-browser-languagedetector"; @@ -160,7 +160,7 @@ export class Initializer { dsn: Config.get().sentry?.DSN, environment: Config.get().sentry?.environment, integrations: [ - new Integrations.BrowserTracing({ + new BrowserTracing({ routingInstrumentation: Sentry.reactRouterV5Instrumentation(history), }),