diff options
Diffstat (limited to 'webapp/components/create_comment.jsx')
-rw-r--r-- | webapp/components/create_comment.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/create_comment.jsx b/webapp/components/create_comment.jsx index 454d8bf43..85f8ac864 100644 --- a/webapp/components/create_comment.jsx +++ b/webapp/components/create_comment.jsx @@ -147,7 +147,7 @@ class CreateComment extends React.Component { Client.createPost( post, () => { - // DO nothing. Websockets will handle this. + PostStore.removePendingPost(post.channel_id, post.pending_post_id); }, (err) => { if (err.id === 'api.post.create_post.root_id.app_error') { |