Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mjadobson authored Nov 2, 2017
1 parent 2667fa6 commit d33f2e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,10 @@ function visitor(element, instance, context) {
// prevent traversing "4"'s children
? false
: true
}
})
}
return true
};
}

reactTreeWalker(app, visitor).then(() => {
console.log(values); // [1, 2, 4, 3];
Expand Down

0 comments on commit d33f2e7

Please sign in to comment.