Skip to content

Commit 47fd2f5

Browse files
authored
[DevTools] Fix index (facebook#34187)
I used the wrong indexer and tested with one entry.
1 parent 1dc3bde commit 47fd2f5

File tree

1 file changed

+1
-1
lines changed
  • packages/react-devtools-shared/src/backend/fiber

1 file changed

+1
-1
lines changed

packages/react-devtools-shared/src/backend/fiber/renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3247,7 +3247,7 @@ export function attach(
32473247
const debugInfo = thenable._debugInfo;
32483248
if (debugInfo) {
32493249
for (let j = 0; j < debugInfo.length; j++) {
3250-
const debugEntry = debugInfo[i];
3250+
const debugEntry = debugInfo[j];
32513251
if (debugEntry.awaited) {
32523252
const asyncInfo: ReactAsyncInfo = (debugEntry: any);
32533253
insertSuspendedBy(asyncInfo);

0 commit comments

Comments
 (0)