Merge pull request #320 from gaearon/own

Fix owner tree for legacy backend
This commit is contained in:
Brian Vaughn authored and GitHub committed 2019-06-12 09:58:17 -07:00
commit f0a29984f4
1 file changed
+3 -1
+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;
}
}
}
}