diff --git a/src/devtools/views/Components/Tree.js b/src/devtools/views/Components/Tree.js index 7d4a1b2dae..bbfba9a76c 100644 --- a/src/devtools/views/Components/Tree.js +++ b/src/devtools/views/Components/Tree.js @@ -336,6 +336,8 @@ function InnerElementType({ style, ...rest }) { // This improves the user experience when scrolling between wide and narrow rows. const divRef = useRef(null); const [minWidth, setMinWidth] = useState(null); + // TODO This is a valid warning, but we're ignoring it for the time being. + // eslint-disable-next-line react-hooks/exhaustive-deps useEffect(() => { if (divRef.current !== null) { const measuredWidth = divRef.current.offsetWidth;