enabling sentry on prod
This commit is contained in:
+3
-6
@@ -1,17 +1,14 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import {BrowserRouter} from "react-router-dom";
|
||||
|
||||
import {Provider} from 'react-redux';
|
||||
import store from "./store/store";
|
||||
|
||||
// import * as Sentry from '@sentry/browser';
|
||||
|
||||
import * as Sentry from '@sentry/browser';
|
||||
import App from './pages/App/App';
|
||||
import * as serviceWorker from './serviceWorker';
|
||||
|
||||
|
||||
//Sentry.init({ dsn: "https://27a5473611834ece9aca26216d79ad86@sentry.io/1810028" });
|
||||
if(process.env.NODE_ENV === 'production')
|
||||
Sentry.init({ dsn: "https://27a5473611834ece9aca26216d79ad86@sentry.io/1810028" });
|
||||
|
||||
ReactDOM.render(
|
||||
<BrowserRouter>
|
||||
|
||||
Reference in New Issue
Block a user