import React from 'react';
import { render } from 'react-dom';
import { install, captureException } from 'common/errorLogger';

import './static/bootstrap/css/bootstrap.css';

import Root from './Root';

install();
// Source: https://docs.sentry.io/clients/javascript/usage/#promises
window.onunhandledrejection = function (evt) {
  captureException(evt.reason);
};

render(<Root />, document.getElementById('app-mount'));

import React from 'react';
import { render } from 'react-dom';
import { install } from 'common/errorLogger';

import './static/bootstrap/css/bootstrap.css';

import Root from './Root';

install();

render(<Root />, document.getElementById('app-mount'));

Remove manual unhandled rejection handler since Raven does this by default finally
Remove manual unhandled rejection handler since Raven does this by default finally
