mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 01:28:36 +08:00
15 lines
367 B
JavaScript
15 lines
367 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 {
|
|
featuredCommentCount: commentCount(tags: ["FEATURED"])
|
|
}`,
|
|
}),
|
|
);
|
|
|
|
export default enhance(Tab);
|