diff --git a/client/coral-admin/src/components/UserDetailComment.js b/client/coral-admin/src/components/UserDetailComment.js index 2d98edcb3..ba185a9df 100644 --- a/client/coral-admin/src/components/UserDetailComment.js +++ b/client/coral-admin/src/components/UserDetailComment.js @@ -1,7 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; +import Slot from 'coral-framework/components/Slot'; import { Link } from 'react-router'; - import { Icon } from 'coral-ui'; import CommentDetails from './CommentDetails'; import styles from './UserDetailComment.css'; @@ -33,9 +33,17 @@ class UserDetailComment extends React.Component { toggleSelect, className, data, - root: { settings: { wordlist: { banned, suspect } } }, + root: { settings }, } = this.props; + const queryData = { root, comment }; + + const formatterSettings = { + suspectWords: settings.wordlist.suspect, + bannedWords: settings.wordlist.banned, + body: comment.body, + }; + return (