mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
c07702330d
* Moving entityGetter to utility folder * Import whitespace and if statement braces * newlines between multi-line if's
12 lines
239 B
JavaScript
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);
|
|
}
|