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 320a9c2 commit 9bac7f1Copy full SHA for 9bac7f1
src/client/build/register.ts
@@ -108,8 +108,6 @@ export function registerSW(options: RegisterSWOptions = {}) {
108
// Add an event listener to detect when the registered
109
// service worker has installed but is waiting to activate.
110
wb.addEventListener('waiting', showSkipWaitingPrompt)
111
- // @ts-expect-error event listener provided by workbox-window
112
- wb.addEventListener('externalwaiting', showSkipWaitingPrompt)
113
}
114
115
0 commit comments