mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 00:20:04 +01:00
[DevTools] Fix index (#34187)
I used the wrong indexer and tested with one entry.
This commit is contained in:
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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user