Skip to content

Commit

Permalink
Replaced destroyed with beforeDestroy
Browse files Browse the repository at this point in the history
  • Loading branch information
ajm13 committed Apr 25, 2019
1 parent 0c86b45 commit 49585fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default {
this.bgInterval = setInterval(this.changeBackground, 30000)
},
destroyed() {
beforeDestroy() {
clearInterval(this.bgInterval)
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/DonateForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default {
}
},
destroyed() {
beforeDestroy() {
clearTimeout(this.copyTO)
}
}
Expand Down

0 comments on commit 49585fc

Please sign in to comment.