diff --git a/src/components/root/WithServiceWorker.js b/src/components/root/WithServiceWorker.js index 26587bec..fb0dec2b 100644 --- a/src/components/root/WithServiceWorker.js +++ b/src/components/root/WithServiceWorker.js @@ -117,8 +117,8 @@ export default class WithServiceWorker extends Component { registration.onupdatefound = () => { const installingWorker = registration.installing; installingWorker.onstatechange = () => { + console.log(installingWorker) if (installingWorker.state === 'installed') { - console.log(registration); console.log(navigator.serviceWorker); if (navigator.serviceWorker.controller) { onUpdated && onUpdated();