Move to new tracing module
This commit is contained in:
parent
07e810156f
commit
8538bcb02e
@ -2,7 +2,6 @@ import { CacheProvider } from "@emotion/react";
|
||||
import { ClientStyleContext } from "./context.js";
|
||||
import createEmotionCache from "./createEmotionCache.js";
|
||||
import { hydrateRoot } from "react-dom/client";
|
||||
import { Integrations } from "@sentry/tracing";
|
||||
import { RemixBrowser } from "@remix-run/react";
|
||||
import * as Sentry from "@sentry/react";
|
||||
import { type ReactNode, StrictMode, useState } from "react";
|
||||
@ -11,7 +10,7 @@ Sentry.init({
|
||||
dsn:
|
||||
document.querySelector("meta[name='dsn']")?.getAttribute("content") ??
|
||||
undefined,
|
||||
integrations: [new Integrations.BrowserTracing()],
|
||||
integrations: [new Sentry.BrowserTracing()],
|
||||
tracesSampleRate: 0.1,
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user