Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/react-devtools-shared/src/devtools/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -1011,12 +1011,12 @@ export default class Store extends EventEmitter<{
): void {
for (let i = 0; i < children.length; i++) {
const childID = children[i];
const suspense = this.getSuspenseByID(childID);
if (suspense !== null) {
const suspense = this._idToSuspense.get(childID);
if (suspense !== undefined) {
target.push(suspense.id);
} else {
const childElement = this.getElementByID(childID);
if (childElement !== null) {
const childElement = this._idToElement.get(childID);
if (childElement !== undefined) {
this._pushSuspenseChildrenInDocumentOrder(
childElement.children,
target,
Expand Down
Loading