mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
[DevTools] Fix index (#34187)
I used the wrong indexer and tested with one entry.
This commit is contained in:
committed by
GitHub
parent
1dc3bdead1
commit
47fd2f5e14
@@ -3247,7 +3247,7 @@ export function attach(
|
||||
const debugInfo = thenable._debugInfo;
|
||||
if (debugInfo) {
|
||||
for (let j = 0; j < debugInfo.length; j++) {
|
||||
const debugEntry = debugInfo[i];
|
||||
const debugEntry = debugInfo[j];
|
||||
if (debugEntry.awaited) {
|
||||
const asyncInfo: ReactAsyncInfo = (debugEntry: any);
|
||||
insertSuspendedBy(asyncInfo);
|
||||
|
||||
Reference in New Issue
Block a user