diff --git a/plugins/talk-plugin-featured-comments/client/components/FeaturedComment.js b/plugins/talk-plugin-featured-comments/client/components/FeaturedComment.js index 702d7c4dc..85d674e45 100644 --- a/plugins/talk-plugin-featured-comments/client/components/FeaturedComment.js +++ b/plugins/talk-plugin-featured-comments/client/components/FeaturedComment.js @@ -13,7 +13,7 @@ class FeaturedComment extends React.Component { } render() { - const {comment, asset} = this.props; + const {comment, asset, root, data} = this.props; return (
@@ -35,8 +35,9 @@ class FeaturedComment extends React.Component { diff --git a/plugins/talk-plugin-featured-comments/client/components/TabPane.js b/plugins/talk-plugin-featured-comments/client/components/TabPane.js index f4c7d2bd9..63766b7ce 100644 --- a/plugins/talk-plugin-featured-comments/client/components/TabPane.js +++ b/plugins/talk-plugin-featured-comments/client/components/TabPane.js @@ -1,11 +1,13 @@ import React from 'react'; import FeaturedComment from './FeaturedComment'; -export default ({asset: {featuredComments, ...asset}, viewComment}) => ( +export default ({root, data, asset: {featuredComments, ...asset}, viewComment}) => (
{featuredComments.nodes.map((comment) =>