From 3e14e8b5abee937b02b99f19730797cfa4390598 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Tue, 30 Aug 2016 18:54:48 -0400 Subject: Remove getPosts request after deleting a post (#3905) --- webapp/components/post_view/components/post_info.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'webapp/components/post_view') diff --git a/webapp/components/post_view/components/post_info.jsx b/webapp/components/post_view/components/post_info.jsx index e95afe3ed..81e6a1fc2 100644 --- a/webapp/components/post_view/components/post_info.jsx +++ b/webapp/components/post_view/components/post_info.jsx @@ -147,7 +147,10 @@ export default class PostInfo extends React.Component { GlobalActions.showDeletePostModal(post, dataComments)} + onClick={(e) => { + e.preventDefault(); + GlobalActions.showDeletePostModal(post, dataComments); + }} >