Closed Yovach closed 10 months ago
If you have an error on serviceWorker.register call, add the {type: module} like this:
serviceWorker.register
{type: module}
navigator.serviceWorker.register('/sw.js', { type: "module" }).then((value) => { setIsInstalled(true); })
If you have an error on
serviceWorker.register
call, add the{type: module}
like this: