joyent-portal/packages/images/src/index.js

16 lines
346 B
JavaScript
Raw Normal View History

2018-02-05 17:12:47 +02:00
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();