chore(core): handle the telemetry warnings in console (#6793)

This commit is contained in:
Brooooooklyn
2024-05-07 04:28:33 +00:00
parent 6cd0c7cd11
commit d76a635b00
4 changed files with 9 additions and 12 deletions
@@ -4,7 +4,7 @@ import '@affine/core/bootstrap/preload';
import { appConfigProxy } from '@affine/core/hooks/use-app-config-storage';
import { performanceLogger } from '@affine/core/shared';
import { apis, events } from '@affine/electron-api';
import { init, replayIntegration, setTags } from '@sentry/electron/renderer';
import { init, setTags } from '@sentry/electron/renderer';
import {
init as reactInit,
reactRouterV6BrowserTracingIntegration,
@@ -50,7 +50,6 @@ function main() {
createRoutesFromChildren,
matchRoutes,
}),
replayIntegration(),
],
},
reactInit