mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 21:36:36 +00:00
Fix lint issues
This commit is contained in:
parent
f4d80f4977
commit
eff286e742
@ -95,10 +95,6 @@ export default new Polymer({
|
||||
return;
|
||||
}
|
||||
|
||||
navigator.serviceWorker.register('./service_worker.js').then(reg => {
|
||||
console.log('Service Worker registration succeeded.');
|
||||
}).catch(error => {
|
||||
console.log(`Service Worker registration failed: ${error}`);
|
||||
});
|
||||
navigator.serviceWorker.register('./service_worker.js');
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user