Skip to content

Commit

Permalink
fix: beforeDestroy (typo) (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjk committed Mar 3, 2021
1 parent e2ecf3b commit c62f9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function installRouterPrefetch(
requestIdleCallback(this.observe, { timeout: this.timeout })
}
},
beforeDestory() {
beforeDestroy() {
this.unobserve()
},
methods: {
Expand Down

0 comments on commit c62f9a0

Please sign in to comment.