From 6a056a0042d0df6c1c377d4bfeb6a3d10017ae3f Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Wed, 12 Jul 2017 09:49:03 -0400
Subject: Fix posting when allow edit after time set (#6913)

---
 webapp/components/post_view/post_info/post_info.jsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'webapp/components/post_view/post_info/post_info.jsx')

diff --git a/webapp/components/post_view/post_info/post_info.jsx b/webapp/components/post_view/post_info/post_info.jsx
index d64d1aca6..6eaef0e0b 100644
--- a/webapp/components/post_view/post_info/post_info.jsx
+++ b/webapp/components/post_view/post_info/post_info.jsx
@@ -81,8 +81,7 @@ export default class PostInfo extends React.PureComponent {
 
         this.state = {
             showEmojiPicker: false,
-            reactionPickerOffset: 21,
-            canEdit: PostUtils.canEditPost(props.post, this.editDisableAction)
+            reactionPickerOffset: 21
         };
     }
 
-- 
cgit v1.2.3-1-g7c22

