File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
packages/react-devtools-shared/src/devtools/views/SuspenseTab Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,6 @@ function SuspenseRects({
178178 // TODO: This should probably be memoized based on if any changes to the rtree has been made.
179179 const titleBox : null | Rect =
180180 rects === null ? null : findTitleBox ( store . _rtree , rects , parentRects ) ;
181-
182181 const nextRects =
183182 rects === null || rects . length === 0
184183 ? parentRects
@@ -355,7 +354,7 @@ function findTitleBox(
355354) : null | Rect {
356355 for ( let i = 0 ; i < rects . length ; i ++ ) {
357356 const rect = rects [ i ] ;
358- if ( rect . width < 50 || rect . height < 10 ) {
357+ if ( rect . width < 20 || rect . height < 10 ) {
359358 // Skip small rects. They're likely not able to be contain anything useful anyway.
360359 continue ;
361360 }
You can’t perform that action at this time.
0 commit comments