We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f6547 commit ee98299Copy full SHA for ee98299
src/components/common/hooks/useVersionUpdate/useVersionUpdateReload.tsx
@@ -83,6 +83,7 @@ export const useVersionUpdateReload = ({ toastEligibleRoutes }: VersionUpdatePro
83
updateServiceWorker,
84
} = useRegisterSW({
85
onRegisteredSW(swUrl, swRegistration) {
86
+ // eslint-disable-next-line no-console
87
console.log(`Service Worker at: ${swUrl}`)
88
if (swRegistration) {
89
const intervalId = setInterval(
@@ -117,6 +118,7 @@ export const useVersionUpdateReload = ({ toastEligibleRoutes }: VersionUpdatePro
117
118
return noop
119
},
120
onRegisterError(error) {
121
122
console.error('SW registration error', error)
123
logExceptionToSentry(error)
124
0 commit comments