mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 18:23:20 +08:00
18 lines
437 B
JavaScript
18 lines
437 B
JavaScript
import {compose, gql} from 'react-apollo';
|
|
import withFragments from 'coral-framework/hocs/withFragments';
|
|
import Tab from '../components/Tab';
|
|
|
|
// TODO: This is just example code, and needs to replaced by an actual implementation.
|
|
const enhance = compose(
|
|
withFragments({
|
|
asset: gql`
|
|
fragment TalkFeatured_Tab_asset on Asset {
|
|
recentComments {
|
|
id
|
|
}
|
|
}`,
|
|
}),
|
|
);
|
|
|
|
export default enhance(Tab);
|