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