Skip to content

Commit baaa6da

Browse files
committed
Update index.ts
1 parent 552e26c commit baaa6da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/scan/src/new-outlines/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,13 +489,13 @@ const reportRenderToListeners = (fiber: Fiber) => {
489489
}),
490490
);
491491

492-
listeners.forEach((listener) => {
492+
for (const listener of listeners) {
493493
listener({
494494
propsChanges,
495495
stateChanges,
496496
contextChanges,
497497
});
498-
});
498+
}
499499
}
500500
const fiberData: RenderData = {
501501
count: existingCount + 1,

0 commit comments

Comments
 (0)