File tree Expand file tree Collapse file tree 2 files changed +7
-14
lines changed
Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 11import React from 'react'
22import ReactDOM from 'react-dom/client'
33import posthog from 'posthog-js'
4- import { initSentry } from './utils/telemetry '
4+ import * as Sentry from '@sentry/react '
55
66import '@fontsource-variable/inter'
77import '@fontsource-variable/jetbrains-mono'
88
99import './index.css'
1010import App from './app'
1111
12- // init PostHog
1312posthog . init ( 'phc_O4kXIsdyB2cm9Wne1pwJkj5jk9Ua51ABVPAhtSuYQ4V' , {
1413 api_host : 'https://us.i.posthog.com' ,
15- capture_pageview : false , // We'll track manually
16- persistence : 'memory' , // Don't persist across sessions
14+ capture_pageview : false ,
15+ persistence : 'memory' ,
1716} )
1817
19- // init sentry
20- initSentry ( )
18+ Sentry . init ( {
19+ dsn : 'https://acb8cfad1992fafc3dc90ab1bfa3d07f@o33823.ingest.us.sentry.io/4510604761825280' ,
20+ sendDefaultPii : true ,
21+ } )
2122
2223// Explicitly load fonts before rendering to prevent FOUT
2324async function loadFonts ( ) {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments