Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Move to new tracing module
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent 07e8101 commit 8538bcb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/entry.client.tsx
Expand Up @@ -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";
Expand All @@ -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,
});

Expand Down

0 comments on commit 8538bcb

Please sign in to comment.