aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-04-25 13:40:08 +0300
committerHenry Jameson <me@hjkos.com>2021-04-25 13:40:08 +0300
commit72956e23436b5fb352652b25707a51be3a823b3d (patch)
treeba600288f550f7012631043576edc927bec1d6df /src
parent4b18e0f36e260f0571bc3d11ca4061d653e145ee (diff)
fix HOCs
Diffstat (limited to 'src')
-rw-r--r--src/hocs/with_load_more/with_load_more.jsx4
-rw-r--r--src/hocs/with_subscription/with_subscription.jsx4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/hocs/with_load_more/with_load_more.jsx b/src/hocs/with_load_more/with_load_more.jsx
index 7f491558..6cd198ed 100644
--- a/src/hocs/with_load_more/with_load_more.jsx
+++ b/src/hocs/with_load_more/with_load_more.jsx
@@ -1,3 +1,5 @@
+// eslint-disable-next-line no-unused
+import { h } from 'vue'
import isEmpty from 'lodash/isEmpty'
import { getComponentProps } from '../../services/component_utils/component_utils'
import './with_load_more.scss'
@@ -78,7 +80,7 @@ const withLoadMore = ({
}
}
},
- render (h) {
+ render () {
const props = {
props: {
...this.$props,
diff --git a/src/hocs/with_subscription/with_subscription.jsx b/src/hocs/with_subscription/with_subscription.jsx
index 7e590f73..4529399e 100644
--- a/src/hocs/with_subscription/with_subscription.jsx
+++ b/src/hocs/with_subscription/with_subscription.jsx
@@ -1,3 +1,5 @@
+// eslint-disable-next-line no-unused
+import { h } from 'vue'
import isEmpty from 'lodash/isEmpty'
import { getComponentProps } from '../../services/component_utils/component_utils'
import './with_subscription.scss'
@@ -58,7 +60,7 @@ const withSubscription = ({
}
}
},
- render (h) {
+ render () {
if (!this.error && !this.loading) {
const props = {
props: {