chore(webapp): remove Sentry from webapp

This commit is contained in:
a.bouhuolia
2023-05-31 09:59:35 +02:00
parent d2b5084b42
commit 5d96fe6aa0
3 changed files with 0 additions and 34 deletions

View File

@@ -4,8 +4,6 @@ import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { BrowserRouter } from 'react-router-dom';
import { PersistGate } from 'redux-persist/integration/react';
import * as Sentry from '@sentry/react';
import { Integrations } from '@sentry/tracing';
import '@/services/yup';
import App from '@/components/App';
@@ -16,16 +14,6 @@ if (process.env.NODE_ENV === 'development') {
const whyDidYouRender = require('@welldone-software/why-did-you-render');
whyDidYouRender(React, { trackAllPureComponents: false });
}
if (process.env.NODE_ENV !== 'development') {
Sentry.init({
dsn: 'https://021bef720bbb4ce2b98f679f72984843@o1021356.ingest.sentry.io/5987236',
integrations: [new Integrations.BrowserTracing()],
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
tracesSampleRate: 1.0,
});
}
ReactDOM.render(
<Provider store={store}>