소스 검색

add comment

jam411 3 년 전
부모
커밋
f523a4d1c8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/app/src/components/TableOfContents.tsx

+ 1 - 1
packages/app/src/components/TableOfContents.tsx

@@ -45,7 +45,7 @@ const TableOfContents = (): JSX.Element => {
     }
     // bottom - revisionToc top
     return bottom - (containerTop + containerPaddingTop);
-  }, [rendererOptions]);
+  }, [rendererOptions]); // for redo calcViewHeight see: https://github.com/weseek/growi/pull/6791
 
   return (
     <div id="revision-toc" className={`revision-toc ${styles['revision-toc']}`}>