mirror of
https://github.com/wassname/talk.git
synced 2026-07-03 05:12:10 +08:00
15 lines
401 B
JavaScript
15 lines
401 B
JavaScript
import {compose, gql} from 'react-apollo';
|
|
import {withFragments} from 'plugin-api/beta/client/hocs';
|
|
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);
|