initial commit on github
This commit is contained in:
Executable
+23
@@ -0,0 +1,23 @@
|
||||
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/react';
|
||||
import App from './components/App/App';
|
||||
import * as serviceWorkerRegistration from './serviceWorkerRegistration';
|
||||
|
||||
if(process.env.NODE_ENV === 'production')
|
||||
Sentry.init({
|
||||
dsn: "https://27a5473611834ece9aca26216d79ad86@sentry.io/1810028"
|
||||
});
|
||||
|
||||
ReactDOM.render(
|
||||
<BrowserRouter>
|
||||
<Provider store={store}>
|
||||
<App/>
|
||||
</Provider>
|
||||
</BrowserRouter>,
|
||||
document.getElementById('root'));
|
||||
|
||||
serviceWorkerRegistration.register();
|
||||
Reference in New Issue
Block a user