message: Wait for load to register service worker
diff: @@ -54,6 +54,8 @@ export default function registerServiceWorker() {
  if (!('serviceWorker' in navigator)) {
  return;
  }
  +
  + window.addEventListener('load', () => {
  navigator.serviceWorker
  .register('/service-worker.js')
  .then((registration) => {
  @@ -125,6 +127,7 @@ export default function registerServiceWorker() {
  console.error('SW: Unable to register service worker.', err);
  reportException('service-worker', err);
  });
  + });
  }
  /**
  