remove unneeded param

This commit is contained in:
or-else
2018-11-01 17:45:31 +03:00
parent 00e48b7c93
commit 2b9883c254
+1 -1
View File
@@ -168,7 +168,7 @@ class TinodeWeb extends React.Component {
this.fbPush = firebase.initializeApp(FIREBASE_INIT, APP_NAME).messaging();
this.fbPush.usePublicVapidKey(FIREBASE_INIT.messagingVapidKey);
navigator.serviceWorker.register('/service-worker.js').then((reg) => {
this.checkForAppUpdate(reg, () => {});
this.checkForAppUpdate(reg);
this.fbPush.useServiceWorker(reg);
this.initDesktopAlerts();
if (this.state.desktopAlerts) {