register service worker for PWA functionality
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good

This commit is contained in:
2020-05-25 16:38:59 +02:00
parent 1d4bc6f765
commit 3c3a9bc511

View File

@@ -2,8 +2,11 @@ import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import './index.css'; import './index.css';
import App from './App'; import App from './App';
import * as serviceWorker from './serviceWorker';
ReactDOM.render( ReactDOM.render(
<App />, <App />,
document.getElementById('root') document.getElementById('root')
); );
serviceWorker.register();