feat: reg sw

This commit is contained in:
Tristan 2019-09-07 00:23:23 +08:00
parent c6f3e0da3d
commit 9f47fc0b48

View File

@ -3,7 +3,7 @@ import ReactDOM from 'react-dom';
import App from './App';
import GlobalStyle from './Global.style';
import { unregister } from './registerServiceWorker';
import register from './registerServiceWorker';
ReactDOM.render(
<>
@ -13,4 +13,4 @@ ReactDOM.render(
document.getElementById('root')
);
unregister();
register();