Skip to content

Commit

Permalink
Use node._stringText instead of renderedChildren
Browse files Browse the repository at this point in the history
Since we no longer iterate over the keys
  • Loading branch information
Brandon Dail committed Jan 9, 2017
1 parent a4dd0b4 commit 8fa8717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MountedTraversal.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export function childrenOfInstInternal(inst) {
if (REACT013 && !node.getPublicInstance) {
return false;
}
if (typeof renderedChildren[key]._stringText !== 'undefined') {
if (typeof node._stringText !== 'undefined') {
return false;
}
return true;
Expand Down

0 comments on commit 8fa8717

Please sign in to comment.