mirror of
https://codeberg.org/vlw/victorwesterlund.com.git
synced 2025-09-14 11:33:41 +02:00
Fixed SyntaxError
Added missing arrow to arrow function for ServiceWorker uninstaller. `Uncaught SyntaxError: missing ) after argument list`
This commit is contained in:
parent
a457357583
commit
68f064ba23
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ const interactions = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
navigator.serviceWorker.getRegistrations().then(serviceWorkers {
|
navigator.serviceWorker.getRegistrations().then(serviceWorkers => {
|
||||||
for(const serviceWorker of serviceWorkers) {
|
for(const serviceWorker of serviceWorkers) {
|
||||||
serviceWorker.unregister();
|
serviceWorker.unregister();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue