✨ (notification) remove all notif on reload
This commit is contained in:
@@ -8,7 +8,7 @@ if (process.env.NODE_ENV === 'production') {
|
||||
ready(sw) {
|
||||
sw.getNotifications().then((notifs) => {
|
||||
notifs
|
||||
.filter((notif) => notif.tag === 'new-version')
|
||||
// .filter((notif) => notif.tag === 'new-version')
|
||||
.forEach((notif) => notif.close())
|
||||
})
|
||||
console.log('App is being served from cache by a service worker')
|
||||
|
||||
Reference in New Issue
Block a user