fix: prevent sentry from loading when telemetry is disabled (#10543)

Co-authored-by: forehalo <forehalo@gmail.com>
This commit is contained in:
hackerESQ
2025-03-05 20:09:38 +08:00
committed by GitHub
co-authored by forehalo
parent b247b8e26c
commit fed0e0add3
16 changed files with 122 additions and 200 deletions
+4 -1
View File
@@ -9,10 +9,13 @@
"sideEffects": "false",
"dependencies": {
"@affine/debug": "workspace:*",
"mixpanel-browser": "^2.56.0"
"@sentry/react": "^9.2.0",
"mixpanel-browser": "^2.56.0",
"react-router-dom": "6.28.0"
},
"devDependencies": {
"@types/mixpanel-browser": "^2.50.2",
"@types/react": "^19.0.1",
"vitest": "^3.0.0"
}
}