diff --git a/packages/react-devtools-shared/src/devtools/views/Components/Tree.js b/packages/react-devtools-shared/src/devtools/views/Components/Tree.js index 8fd22f3ddf49f..7e15ba05142ac 100644 --- a/packages/react-devtools-shared/src/devtools/views/Components/Tree.js +++ b/packages/react-devtools-shared/src/devtools/views/Components/Tree.js @@ -538,7 +538,7 @@ function updateIndentationSizeVar( } // $FlowFixMe[missing-local-annot] -function InnerElementType({children, style, ...rest}) { +function InnerElementType({children, style}) { const {ownerID} = useContext(TreeStateContext); const cachedChildWidths = useMemo>( @@ -586,11 +586,7 @@ function InnerElementType({children, style, ...rest}) { // A lot of options were considered; this seemed the one that requires the least code. // See https://github.com/bvaughn/react-devtools-experimental/issues/9 return ( -
+
{children}