Skip to content

Commit 761c092

Browse files
committed
lil more
1 parent 78572e8 commit 761c092

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

src/main.jsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
import React from 'react'
22
import ReactDOM from 'react-dom/client'
33
import posthog from 'posthog-js'
4-
import { initSentry } from './utils/telemetry'
4+
import * as Sentry from '@sentry/react'
55

66
import '@fontsource-variable/inter'
77
import '@fontsource-variable/jetbrains-mono'
88

99
import './index.css'
1010
import App from './app'
1111

12-
// init PostHog
1312
posthog.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
2324
async function loadFonts() {

src/utils/telemetry.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)