Files
talk/plugins/talk-plugin-featured-comments/client/containers/Tab.js
T
2017-07-18 16:39:06 +07:00

15 lines
406 B
JavaScript

import {compose, gql} from 'react-apollo';
import withFragments from 'coral-framework/hocs/withFragments';
import Tab from '../components/Tab';
const enhance = compose(
withFragments({
asset: gql`
fragment TalkFeatured_Tab_asset on Asset {
featuredCommentsCount: totalCommentCount(tags: ["FEATURED"], excludeIgnored: $excludeIgnored)
}`,
}),
);
export default enhance(Tab);