fix(core): opt out telemetry condition (#6341)

This commit is contained in:
Brooooooklyn 2024-03-27 08:37:15 +00:00
parent d4c7d58b00
commit 39facba92e
No known key found for this signature in database
GPG Key ID: 30B1140CE1C07C99

View File

@ -12,7 +12,7 @@ export function Telemetry() {
persistence: 'localStorage',
});
}
if (settings.enableTelemetry !== false) {
if (settings.enableTelemetry === false) {
mixpanel.opt_out_tracking();
}
}, [settings.enableTelemetry]);