chore: sentry on development env only.

This commit is contained in:
a.bouhuolia
2021-10-01 00:13:43 +02:00
parent 2c86e7d8b3
commit 862a667ef6

View File

@@ -19,7 +19,7 @@ if (process.env.NODE_ENV === 'development') {
});
}
if (process.env.NODE_ENV !== 'production') {
if (process.env.NODE_ENV !== 'development') {
Sentry.init({
dsn: 'https://021bef720bbb4ce2b98f679f72984843@o1021356.ingest.sentry.io/5987236',
integrations: [new Integrations.BrowserTracing()],