summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_root_post.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/rhs_root_post.jsx')
-rw-r--r--webapp/components/rhs_root_post.jsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/webapp/components/rhs_root_post.jsx b/webapp/components/rhs_root_post.jsx
index 7d00e2322..a114c7385 100644
--- a/webapp/components/rhs_root_post.jsx
+++ b/webapp/components/rhs_root_post.jsx
@@ -358,7 +358,6 @@ export default class RhsRootPost extends React.Component {
}
const profilePicContainer = (<div className='post__img'>{profilePic}</div>);
- const messageWrapper = <PostMessageContainer post={post}/>;
let flag;
let flagFunc;
@@ -445,7 +444,7 @@ export default class RhsRootPost extends React.Component {
<div className='post__body'>
<PostBodyAdditionalContent
post={post}
- message={messageWrapper}
+ message={<PostMessageContainer post={post}/>}
previewCollapsed={this.props.previewCollapsed}
/>
{fileAttachment}