Removed outdated comment and Eslint rule ignore
Brian Vaughn committed
Jun 3, 2019 at 09:33 UTC
fbc6e5d68a7ff394ac4315ce2c24148164ab0fee
1 file changed
-2
src/devtools/views/Components/Tree.js
-2
@@ -448,8 +448,6 @@ function InnerElementType({ children, style, ...rest }) {
448
}
449
450
// When we render new content, measure to see if we need to shrink indentation to fit it.
451
- // TODO The lint warning is valid, but we are intentionally ignoring it for now.
452
- // eslint-disable-next-line react-hooks/exhaustive-deps
451
useEffect(() => {
452
if (divRef.current !== null) {
453
updateIndentationSizeVar(