fleet/frontend/index.jsx
Mike Arpaia c07702330d Cleaning JavaScript imports and if statements (#327)
* Moving entityGetter to utility folder

* Import whitespace and if statement braces

* newlines between multi-line if's
2016-10-19 16:22:18 -04:00

12 lines
239 B
JavaScript

import ReactDOM from 'react-dom';
import routes from './router';
import './index.scss';
if (typeof window !== 'undefined') {
const { document } = global;
const app = document.getElementById('app');
ReactDOM.render(routes, app);
}