summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_comment.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/rhs_comment.jsx')
-rw-r--r--webapp/components/rhs_comment.jsx10
1 files changed, 1 insertions, 9 deletions
diff --git a/webapp/components/rhs_comment.jsx b/webapp/components/rhs_comment.jsx
index 26659c7a1..0eb7717b3 100644
--- a/webapp/components/rhs_comment.jsx
+++ b/webapp/components/rhs_comment.jsx
@@ -294,7 +294,6 @@ export default class RhsComment extends React.Component {
let loading;
let postClass = '';
- let message = <PostMessageContainer post={post}/>;
if (post.state === Constants.POST_FAILED) {
postClass += ' post-fail';
@@ -307,13 +306,6 @@ export default class RhsComment extends React.Component {
src={loadingGif}
/>
);
- } else if (this.props.post.state === Constants.POST_DELETED) {
- message = (
- <FormattedMessage
- id='post_body.deleted'
- defaultMessage='(message deleted)'
- />
- );
}
let systemMessageClass = '';
@@ -491,7 +483,7 @@ export default class RhsComment extends React.Component {
<div className='post__body'>
<div className={postClass}>
{loading}
- {message}
+ <PostMessageContainer post={post}/>
</div>
{fileAttachment}
<ReactionListContainer