Loading comment stream based on parent URL.

This commit is contained in:
David Jay
2016-11-14 16:51:54 -05:00
parent 688fbd0bf6
commit 16fa3e46f5
@@ -77,8 +77,7 @@ class CommentStream extends Component {
// Set up messaging between embedded Iframe an parent component
// Using recommended Pym init code which violates .eslint standards
const pym = new Pym.Child({polling: 100});
console.log(pym);
this.props.getStream('http://www.test.com');
this.props.getStream(pym.parentUrl);
}
render () {