Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix sentry browser tracing
  • Loading branch information
regalijan committed May 29, 2024
1 parent 86a912c commit 470654e
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 59 deletions.
3 changes: 2 additions & 1 deletion app/entry.client.tsx
Expand Up @@ -10,7 +10,8 @@ Sentry.init({
dsn:
document.querySelector("meta[name='dsn']")?.getAttribute("content") ??
undefined,
integrations: [new Sentry.BrowserTracing()],
// @ts-expect-error
integrations: [Sentry.browserTracingIntegration()],
tracesSampleRate: 0.1,
});

Expand Down
114 changes: 57 additions & 57 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -16,7 +16,7 @@
"@remix-run/cloudflare": "^2.9.2",
"@remix-run/cloudflare-pages": "^2.9.2",
"@remix-run/react": "^2.9.2",
"@sentry/react": "^8.5.0",
"@sentry/react": "^8.7.0",
"aws4fetch": "^1.0.18",
"framer-motion": "^11.2.6",
"react": "^18.3.1",
Expand Down

0 comments on commit 470654e

Please sign in to comment.