aboutsummaryrefslogtreecommitdiff
path: root/src/hocs/with_subscription/with_subscription.jsx
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-03-18 13:36:08 +0200
committerHenry Jameson <me@hjkos.com>2022-03-18 13:36:08 +0200
commit5948d20f00a4b01bee143a617bea9ae40cb1243f (patch)
tree9b7c8b86f6779bd9776d22547ba701a63e8c5fe7 /src/hocs/with_subscription/with_subscription.jsx
parentb3ed29ff02fa3db46a1ec7b5856f2c9131b8fa33 (diff)
mutes and blocks tab works
Diffstat (limited to 'src/hocs/with_subscription/with_subscription.jsx')
-rw-r--r--src/hocs/with_subscription/with_subscription.jsx11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/hocs/with_subscription/with_subscription.jsx b/src/hocs/with_subscription/with_subscription.jsx
index 4529399e..5ba2662b 100644
--- a/src/hocs/with_subscription/with_subscription.jsx
+++ b/src/hocs/with_subscription/with_subscription.jsx
@@ -63,14 +63,11 @@ const withSubscription = ({
render () {
if (!this.error && !this.loading) {
const props = {
- props: {
- ...this.$props,
- [childPropName]: this.fetchedData
- },
- on: this.$listeners,
- scopedSlots: this.$scopedSlots
+ ...this.$props,
+ [childPropName]: this.fetchedData
+ // on: this.$listeners // TODO
}
- const children = Object.entries(this.$slots).map(([key, value]) => h('template', { slot: key }, value))
+ const children = this.$slots
return (
<div class="with-subscription">
<WrappedComponent {...props}>