mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix owner tree for legacy backend
This commit is contained in:
@@ -586,7 +586,9 @@ export function attach(
|
||||
id: getID(owner),
|
||||
type: getElementType(owner),
|
||||
});
|
||||
owner = owner.owner;
|
||||
if (owner._currentElement) {
|
||||
owner = owner._currentElement._owner;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user