]> Untitled Git - lemmy-ui.git/commitdiff
Fixing service worker lint.
authorDessalines <tyhou13@gmx.com>
Sun, 24 Jan 2021 18:59:50 +0000 (13:59 -0500)
committerDessalines <tyhou13@gmx.com>
Sun, 24 Jan 2021 18:59:50 +0000 (13:59 -0500)
src/service-worker.ts

index a7e1bd523bf1feed54f0730750bed13d13842c48..15c15fc25d6678b30b42ff4ec05db19d8f479f1a 100644 (file)
@@ -2,19 +2,19 @@ import { register } from 'register-service-worker';
 
 register('/service-worker.js', {
   registrationOptions: { scope: './' },
-  ready(registration) {
+  ready(_registration) {
     console.log('Service worker is active.');
   },
-  registered(registration) {
+  registered(_registration) {
     console.log('Service worker has been registered.');
   },
-  cached(registration) {
+  cached(_registration) {
     console.log('Content has been cached for offline use.');
   },
-  updatefound(registration) {
+  updatefound(_registration) {
     console.log('New content is downloading.');
   },
-  updated(registration) {
+  updated(_registration) {
     console.log('New content is available; please refresh.');
   },
   offline() {