mirror of
https://github.com/wassname/talk.git
synced 2026-07-02 03:17:52 +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);
|
||||
@@ -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';
|
||||
|
||||
@@ -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);
|
||||
@@ -1,5 +1,5 @@
|
||||
import translations from './translations.json';
|
||||
import OffTopicTag from './components/OffTopicTag';
|
||||
import OffTopicTag from './containers/OffTopicTag';
|
||||
import OffTopicFilter from './containers/OffTopicFilter';
|
||||
import OffTopicCheckbox from './containers/OffTopicCheckbox';
|
||||
import reducer from './reducer';
|
||||
|
||||
Reference in New Issue
Block a user