Skip to content

Commit

Permalink
Remove dupe lifecycle method
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanreyes committed Oct 6, 2021
1 parent 9c58ae2 commit ef19744
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/DatePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,6 @@ export default {
off(document, 'keydown', this.onDocumentKeyDown);
on(document, 'click', this.onDocumentClick);
},
destroyed() {
off(document, 'keydown', this.onDocumentKeyDown);
off(document, 'click', this.onDocumentClick);
},
methods: {
getDateParts(date) {
return this.$locale.getDateParts(date);
Expand Down

0 comments on commit ef19744

Please sign in to comment.