Skip to content

Commit

Permalink
fix(docs): typo in the lazy-loading section (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
raminjafary authored Nov 1, 2021
1 parent 0aeba6e commit dfcc0ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/en/sentry/lazy-loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ Example usage:
// that triggered the load will also be captured
this.errorListener = () => {
this.$sentryLoad()
window.removeEventListener('error', errorListener)
window.removeEventListener('error', this.errorListener)
}
window.addEventListener('error', errorListener)
window.addEventListener('error', this.errorListener)
},
destroyed() {
window.removeEventListener('error', this.errorListener)
Expand Down

0 comments on commit dfcc0ab

Please sign in to comment.