From fbc6e5d68a7ff394ac4315ce2c24148164ab0fee Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Mon, 3 Jun 2019 09:33:48 -0700 Subject: [PATCH] Removed outdated comment and Eslint rule ignore --- src/devtools/views/Components/Tree.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/devtools/views/Components/Tree.js b/src/devtools/views/Components/Tree.js index fba412465d..266026ac58 100644 --- a/src/devtools/views/Components/Tree.js +++ b/src/devtools/views/Components/Tree.js @@ -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(