fix HOCs
This commit is contained in:
parent
4b18e0f36e
commit
72956e2343
@ -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,
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user