mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 19:50:38 +08:00
22 lines
475 B
JavaScript
22 lines
475 B
JavaScript
import { compose, gql } from 'react-apollo';
|
|
import { withFragments } from 'plugin-api/beta/client/hocs';
|
|
import ToxicDetail from '../components/ToxicDetail';
|
|
|
|
const enhance = compose(
|
|
withFragments({
|
|
comment: gql`
|
|
fragment TalkToxicComments_ToxicDetail_Comment on Comment {
|
|
toxicity
|
|
actions {
|
|
__typename
|
|
... on FlagAction {
|
|
reason
|
|
}
|
|
}
|
|
}
|
|
`,
|
|
})
|
|
);
|
|
|
|
export default enhance(ToxicDetail);
|