diff --git a/client/coral-embed-stream/src/components/Comment.js b/client/coral-embed-stream/src/components/Comment.js index c91396eb1..20f502c7b 100644 --- a/client/coral-embed-stream/src/components/Comment.js +++ b/client/coral-embed-stream/src/components/Comment.js @@ -343,11 +343,11 @@ export default class Comment extends React.Component { } = this.props; if (this.commentIsRejected(comment)) { - return ; + return ; } if (this.commentIsIgnored(comment)) { - return ; + return ; } const view = this.getVisibileReplies(); diff --git a/client/coral-embed-stream/src/components/CommentTombstone.js b/client/coral-embed-stream/src/components/CommentTombstone.js index 0afa4a555..4f923bb4b 100644 --- a/client/coral-embed-stream/src/components/CommentTombstone.js +++ b/client/coral-embed-stream/src/components/CommentTombstone.js @@ -8,12 +8,12 @@ class CommentTombstone extends React.Component { const {action} = this.props; switch (action) { - case 'ignored': - return t('framework.comment_is_ignored') - case 'rejected': - return t('framework.comment_is_rejected') - default : - return t('framework.comment_is_hidden'); + case 'ignore': + return t('framework.comment_is_ignored') + case 'reject': + return t('framework.comment_is_rejected') + default : + return t('framework.comment_is_hidden'); } }