MCPcopy Create free account
hub / github.com/bbachi/react-dotnet-example / unregister

Function unregister

ClientApp/src/registerServiceWorker.js:102–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100}
101
102export function unregister () {
103 if ('serviceWorker' in navigator) {
104 navigator.serviceWorker.ready.then(registration => {
105 registration.unregister();
106 });
107 }
108}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected