aboutsummaryrefslogtreecommitdiff
path: root/src/hocs/with_load_more
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-04-25 12:50:17 +0300
committerHenry Jameson <me@hjkos.com>2021-04-25 12:50:17 +0300
commit76a2e6befb3aea6e890bb3c2e001a4635d05091a (patch)
tree1e7c422473eeb60962829055dccccc3f77a1002a /src/hocs/with_load_more
parent1f5f612163bd1c359212c2e6832806f0dd606977 (diff)
remove Vue.component from hooks
Diffstat (limited to 'src/hocs/with_load_more')
-rw-r--r--src/hocs/with_load_more/with_load_more.jsx (renamed from src/hocs/with_load_more/with_load_more.js)2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hocs/with_load_more/with_load_more.js b/src/hocs/with_load_more/with_load_more.jsx
index 537f5720..7f491558 100644
--- a/src/hocs/with_load_more/with_load_more.js
+++ b/src/hocs/with_load_more/with_load_more.jsx
@@ -38,7 +38,7 @@ const withLoadMore = ({
this.fetchEntries()
}
},
- destroyed () {
+ unmounted () {
window.removeEventListener('scroll', this.scrollLoad)
destroy && destroy(this.$props, this.$store)
},