fix eslint warning

This commit is contained in:
plebeius.eth
2023-12-18 09:33:04 +01:00
parent 7c4a41ebd5
commit 12d13708fe
+2 -2
View File
@@ -39,7 +39,7 @@ export function register(config) {
// Add some additional logging to localhost, pointing developers to the
// service worker/PWA documentation.
navigator.serviceWorker.ready.then(() => {
console.log('This web app is being served cache-first by a service ' + 'worker. To learn more, visit https://cra.link/PWA');
console.log('This web app is being served cache-first by a service worker. To learn more, visit https://cra.link/PWA');
});
} else {
// Is not localhost. Just register service worker
@@ -64,7 +64,7 @@ function registerValidSW(swUrl, config) {
// At this point, the updated precached content has been fetched,
// but the previous service worker will still serve the older
// content until all client tabs are closed.
console.log('New content is available and will be used when all ' + 'tabs for this page are closed. See https://cra.link/PWA.');
console.log('New content is available and will be used when all tabs for this page are closed. See https://cra.link/PWA.');
// Execute callback
if (config && config.onUpdate) {