1
0

fix: life cycle hook naming

This commit is contained in:
Dominik Pschenitschni
2021-08-19 21:36:09 +02:00
parent db49b9b532
commit ecc3d3cf3f
7 changed files with 7 additions and 7 deletions

View File

@ -72,7 +72,7 @@ export default {
document.addEventListener('click', this.hidePopup)
this.interval = setInterval(this.loadNotifications, LOAD_NOTIFICATIONS_INTERVAL)
},
beforeDestroy() {
beforeUnmount() {
document.removeEventListener('click', this.hidePopup)
clearInterval(this.interval)
},