aboutsummaryrefslogtreecommitdiff
path: root/src/hocs/with_subscription/with_subscription.js
diff options
context:
space:
mode:
authorShpuld Shpuldson <shpuld@shpposter.club>2020-01-13 23:47:32 +0200
committerShpuld Shpuldson <shpuld@shpposter.club>2020-01-13 23:47:32 +0200
commitb32888194c2b9de286bcfff9998dae009cea224d (patch)
treeeb907b6457bc6416c9a8661039848aebf8f1727a /src/hocs/with_subscription/with_subscription.js
parent33abbed5a1e1d1cf99d21d481b2a22481d7533b2 (diff)
parent7257189ea796d51117285814d32ed6138fdb3458 (diff)
fix merge conflicts
Diffstat (limited to 'src/hocs/with_subscription/with_subscription.js')
-rw-r--r--src/hocs/with_subscription/with_subscription.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hocs/with_subscription/with_subscription.js b/src/hocs/with_subscription/with_subscription.js
index 91fc4cca..1775adcb 100644
--- a/src/hocs/with_subscription/with_subscription.js
+++ b/src/hocs/with_subscription/with_subscription.js
@@ -49,7 +49,7 @@ const withSubscription = ({
}
}
},
- render (createElement) {
+ render (h) {
if (!this.error && !this.loading) {
const props = {
props: {
@@ -59,7 +59,7 @@ const withSubscription = ({
on: this.$listeners,
scopedSlots: this.$scopedSlots
}
- const children = Object.entries(this.$slots).map(([key, value]) => createElement('template', { slot: key }, value))
+ const children = Object.entries(this.$slots).map(([key, value]) => h('template', { slot: key }, value))
return (
<div class="with-subscription">
<WrappedComponent {...props}>