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 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);
@@ -1,5 +1,5 @@
import Tab from './containers/Tab';
import Tag from './components/Tag';
import Tag from './containers/Tag';
import Button from './components/Button';
import TabPane from './containers/TabPane';
import translations from './translations.yml';