Răsfoiți Sursa

update comment

jam411 3 ani în urmă
părinte
comite
5331651fcb
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      packages/app/src/components/PageComment/Comment.tsx

+ 1 - 1
packages/app/src/components/PageComment/Comment.tsx

@@ -78,7 +78,7 @@ export const Comment = (props: CommentProps): JSX.Element => {
   const getRootClassName = (comment: ICommentHasId) => {
   const getRootClassName = (comment: ICommentHasId) => {
     let className = 'page-comment flex-column';
     let className = 'page-comment flex-column';
 
 
-    // Conditional branch when called from SearchResultContext
+    // Conditional for called from SearchResultContext
     if (currentRevisionId != null && currentRevisionCreatedAt != null) {
     if (currentRevisionId != null && currentRevisionCreatedAt != null) {
       if (comment.revision === currentRevisionId) {
       if (comment.revision === currentRevisionId) {
         className += ' page-comment-current';
         className += ' page-comment-current';