+
+
+ this.handleChange(e, 'listenTo')} />
+
+
- {this.props.subscriptions && this.props.subscriptions.length > 0 &&
-
-
Subscribed channels:
-
- {this.props.subscriptions.map((item, i) => {item})}
-
-
- }
+ {this.props.subscriptions && this.props.subscriptions.length > 0 &&
+
+ Subscribed channels:
+
+ {this.props.subscriptions.map((item, i) => {item})}
+
+
+ }
- {this.props.channels && Boolean(Object.keys(this.props.channels).length) &&
-
- Messages received:
+ {this.props.channels && Boolean(Object.keys(this.props.channels).length) &&
+
+ Messages received:
-
- {Object.keys(this.props.channels).map((channelName, i) => {
- return (
-
-
- {this.props.channels[channelName].map((data, f) => {
- return {data.message}
;
- })}
-
-
- );
- })}
-
-
- }
+
+ {Object.keys(this.props.channels).map((channelName, i) => {
+ return (
+
+
+ {channelName}
+
+
+ {this.props.channels[channelName].map((data, f) => {
+ return {data.message}
;
+ })}
+
+
+ );
+ })}
+
+
+ }
+
+