aboutsummaryrefslogtreecommitdiff
path: root/src/hocs/with_subscription/with_subscription.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2020-01-03 09:05:48 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2020-01-03 09:05:48 +0000
commit215662afdee3935f66e5fbd73260e2039f5216de (patch)
tree817b578e53b884c4b5facd63c166b522f59a8978 /src/hocs/with_subscription/with_subscription.js
parentc3e7806acbd32483eab497a347f947158ab8febf (diff)
parent1a82a00a2b45041c35b72ab16ee34c120341b652 (diff)
Merge branch 'develop' into 'fix-move-type-notification'
# Conflicts: # static/fontello.json
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}>