diff --git a/client/src/components/update-alert/update-alert.component.jsx b/client/src/components/update-alert/update-alert.component.jsx index 59febd90c..fcd64cabc 100644 --- a/client/src/components/update-alert/update-alert.component.jsx +++ b/client/src/components/update-alert/update-alert.component.jsx @@ -68,6 +68,5 @@ const onServiceWorkerUpdate = (registration) => { globalRegistration = registration; store.dispatch(setUpdateAvailable(true)); }; -store.dispatch(setUpdateAvailable(true)); serviceWorkerRegistration.register({ onUpdate: onServiceWorkerUpdate });