joyent-portal/packages/images/src/index.js
2018-02-09 14:16:42 +00:00

16 lines
346 B
JavaScript

import React from 'react';
import ReactDOM from 'react-dom';
import isFunction from 'lodash.isfunction';
import isFinite from 'lodash.isfinite';
import { register } from './sw';
import App from './app';
if (!isFunction(Number.isFinite)) {
Number.isFinite = isFinite;
}
ReactDOM.render(<App />, document.getElementById('root'));
register();