mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 04:04:04 +08:00
21 lines
467 B
JavaScript
21 lines
467 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);
|