Removed outdated comment and Eslint rule ignore

This commit is contained in:
Brian Vaughn
2019-06-03 09:33:48 -07:00
parent 6ac558df2d
commit fbc6e5d68a
-2
View File
@@ -448,8 +448,6 @@ function InnerElementType({ children, style, ...rest }) {
}
// When we render new content, measure to see if we need to shrink indentation to fit it.
// TODO The lint warning is valid, but we are intentionally ignoring it for now.
// eslint-disable-next-line react-hooks/exhaustive-deps
useEffect(() => {
if (divRef.current !== null) {
updateIndentationSizeVar(