mirror of
https://github.com/wassname/talk.git
synced 2026-07-12 09:23:09 +08:00
41 lines
748 B
JavaScript
41 lines
748 B
JavaScript
import {gql} from 'react-apollo';
|
|
import UserDetailComment from '../components/UserDetailComment';
|
|
import withFragments from 'coral-framework/hocs/withFragments';
|
|
|
|
export default withFragments({
|
|
comment: gql`
|
|
fragment CoralAdmin_UserDetail_comment on Comment {
|
|
id
|
|
body
|
|
created_at
|
|
status
|
|
hasParent
|
|
asset {
|
|
id
|
|
title
|
|
url
|
|
}
|
|
action_summaries {
|
|
count
|
|
... on FlagActionSummary {
|
|
reason
|
|
}
|
|
}
|
|
actions {
|
|
... on FlagAction {
|
|
id
|
|
reason
|
|
message
|
|
user {
|
|
id
|
|
username
|
|
}
|
|
}
|
|
}
|
|
editing {
|
|
edited
|
|
}
|
|
}
|
|
`
|
|
})(UserDetailComment);
|