summaryrefslogtreecommitdiffstats
path: root/webapp/components/delete_post_modal.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-08-30 18:54:48 -0400
committerenahum <nahumhbl@gmail.com>2016-08-30 19:54:48 -0300
commit3e14e8b5abee937b02b99f19730797cfa4390598 (patch)
tree81d1e174b2aee3cfe9bb2947af8c6e5ab339b261 /webapp/components/delete_post_modal.jsx
parent391926e9a70cb7502bfbab7d8b6dbcb221b1a18e (diff)
downloadchat-3e14e8b5abee937b02b99f19730797cfa4390598.tar.gz
chat-3e14e8b5abee937b02b99f19730797cfa4390598.tar.bz2
chat-3e14e8b5abee937b02b99f19730797cfa4390598.zip
Remove getPosts request after deleting a post (#3905)
Diffstat (limited to 'webapp/components/delete_post_modal.jsx')
-rw-r--r--webapp/components/delete_post_modal.jsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/webapp/components/delete_post_modal.jsx b/webapp/components/delete_post_modal.jsx
index 6563e3ee8..5f21ea3bc 100644
--- a/webapp/components/delete_post_modal.jsx
+++ b/webapp/components/delete_post_modal.jsx
@@ -55,7 +55,6 @@ export default class DeletePostModal extends React.Component {
this.state.post.id,
() => {
PostStore.deletePost(this.state.post);
- AsyncClient.getPosts(this.state.post.channel_id);
if (this.state.post.id === PostStore.getSelectedPostId()) {
AppDispatcher.handleServerAction({