Add missing fragments

This commit is contained in:
Chi Vinh Le
2017-08-18 20:40:51 +07:00
parent 9f62754fd7
commit 00f365ab38
4 changed files with 32 additions and 2 deletions
@@ -0,0 +1,15 @@
import {gql} from 'react-apollo';
import OffTopicTag from '../components/OffTopicTag';
import {withFragments} from 'plugin-api/beta/client/hocs';
export default withFragments({
comment: gql`
fragment TalkOfftopic_OffTopicTag_comment on Comment {
tags {
tag {
name
}
}
}
`
})(OffTopicTag);