jam411 hace 3 años
padre
commit
f523a4d1c8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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']}`}>