Merge pull request #320 from gaearon/own

Fix owner tree for legacy backend
This commit is contained in:
Brian Vaughn
2019-06-12 09:58:17 -07:00
committed by GitHub
+3 -1
View File
@@ -586,7 +586,9 @@ export function attach(
id: getID(owner),
type: getElementType(owner),
});
owner = owner.owner;
if (owner._currentElement) {
owner = owner._currentElement._owner;
}
}
}
}