fix(governance): check value of telemetry local storage entry (#3762)

This commit is contained in:
Matthew Russell 2023-05-15 01:48:42 -07:00 committed by GitHub
parent fc0da98683
commit fc66240390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,7 +204,7 @@ const AppContainer = () => {
]);
useEffect(() => {
if (ENV.dsn && telemetryOn) {
if (ENV.dsn && telemetryOn === 'true') {
Sentry.init({
dsn: ENV.dsn,
tracesSampleRate: 0.1,