mirror of
https://github.com/wassname/talk.git
synced 2026-09-10 12:43:11 +08:00
Add missing fragments
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import {gql} from 'react-apollo';
|
||||
import Tag from '../components/Tag';
|
||||
import {withFragments} from 'plugin-api/beta/client/hocs';
|
||||
|
||||
export default withFragments({
|
||||
comment: gql`
|
||||
fragment TalkFeaturedComments_Tag_comment on Comment {
|
||||
tags {
|
||||
tag {
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
})(Tag);
|
||||
Reference in New Issue
Block a user