mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
* Moving entityGetter to utility folder * Import whitespace and if statement braces * newlines between multi-line if's
11 lines
239 B
JavaScript
11 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);
|
|
}
|