mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Removed outdated comment and Eslint rule ignore
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user