[DevTools] Fix index (#34187)

I used the wrong indexer and tested with one entry.
This commit is contained in:
Sebastian Markbåge 2025-08-12 13:57:35 -04:00 committed by GitHub
parent 1dc3bdead1
commit 47fd2f5e14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);