From 783c4f2ee22c8834d48289a45b3fafd29109ba25 Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Wed, 18 Nov 2020 18:00:48 -0600 Subject: [PATCH] interface: show currently editing comment as pending --- pkg/interface/src/views/components/CommentItem.tsx | 2 +- pkg/interface/src/views/components/Comments.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/interface/src/views/components/CommentItem.tsx b/pkg/interface/src/views/components/CommentItem.tsx index 72ab4bfc6b..38e59b8332 100644 --- a/pkg/interface/src/views/components/CommentItem.tsx +++ b/pkg/interface/src/views/components/CommentItem.tsx @@ -43,7 +43,7 @@ export function CommentItem(props: CommentItemProps) { const updateUrl = `${props.baseUrl}/${commentIndex}` return ( - + ) : null )} {Array.from(comments.children).reverse() - .filter(([idx, _]) => idx.toString() !== props.editCommentId) .map(([idx, comment]) => { return ( ); })}