Skip to content

Commit 0979455

Browse files
committed
fix(lint): correct the lint errors
1 parent 9091da6 commit 0979455

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/client.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,13 @@ Promise.all([window.__data ? true : isOnline(), getStoredState(offlinePersistCon
118118
if (online && !__DEVELOPMENT__ && 'serviceWorker' in navigator) {
119119
window.addEventListener('load', () => {
120120
navigator.serviceWorker
121-
.register('/dist/service-worker.js', { scope: '/' })
122-
.then(() => {
123-
console.log('Service worker registered!');
124-
})
125-
.catch(error => {
126-
console.log('Error registering service worker: ', error);
127-
});
121+
.register('/dist/service-worker.js', { scope: '/' })
122+
.then(() => {
123+
console.log('Service worker registered!');
124+
})
125+
.catch(error => {
126+
console.log('Error registering service worker: ', error);
127+
});
128128

129129
navigator.serviceWorker.ready.then(
130130
(/* registration */) => {

0 commit comments

Comments
 (0)