mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 22:38:56 +08:00
fix(core): event flow handle (#14256)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { mixpanel, sentry } from '@affine/track';
|
||||
import { ga4, sentry, tracker } from '@affine/track';
|
||||
import { APP_SETTINGS_STORAGE_KEY } from '@toeverything/infra/atom';
|
||||
|
||||
mixpanel.init();
|
||||
tracker.init();
|
||||
sentry.init();
|
||||
|
||||
if (typeof localStorage !== 'undefined') {
|
||||
@@ -18,5 +18,6 @@ if (typeof localStorage !== 'undefined') {
|
||||
// see: https://docs.mixpanel.com/docs/privacy/protecting-user-data
|
||||
// mixpanel.opt_out_tracking();
|
||||
sentry.disable();
|
||||
ga4.setEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user