26 lines
499 B
JavaScript
26 lines
499 B
JavaScript
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import Component from './Component';
|
|
import RavenBoundary from '../../components/RavenBoundary';
|
|
|
|
import '../../style.css';
|
|
import '../../i18n';
|
|
import { setupGA } from '../../analytics';
|
|
import { Raven, setupRaven } from '../../sentry';
|
|
|
|
setupRaven();
|
|
|
|
try {
|
|
setupGA();
|
|
|
|
ReactDOM.render(
|
|
<RavenBoundary>
|
|
<Component/>
|
|
</RavenBoundary>,
|
|
document.getElementById('root'));
|
|
}
|
|
catch (e) {
|
|
Raven.captureException(e);
|
|
}
|