commit: 72956e23436b5fb352652b25707a51be3a823b3d
parent 4b18e0f36e260f0571bc3d11ca4061d653e145ee
Author: Henry Jameson <me@hjkos.com>
Date: Sun, 25 Apr 2021 13:40:08 +0300
fix HOCs
Diffstat:
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
@@ -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
@@ -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: {