소스 검색

delete comment

zahmis 5 년 전
부모
커밋
a8a59c5207
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      src/client/js/components/PageHistory/PageRevisionTable.jsx

+ 0 - 4
src/client/js/components/PageHistory/PageRevisionTable.jsx

@@ -126,10 +126,6 @@ class PageRevisionTable extends React.Component {
         previousRevision = revision; // if it is the first revision, show full text as diff text
       }
 
-      // let isOldestRevision;
-      // if (revision === revisionCount - 1) {
-      //   isOldestRevision = true;
-      // }
 
       const hasDiff = revision.hasDiffToPrev !== false; // set 'true' if undefined for backward compatibility
       const isContiguousNodiff = !hasDiff && !hasDiffPrev;