Please sign in to comment.
Simplifying conditional logic.
Summary: This should be functionally identical, but avoids unnecessary conditionals in the code. <!-- Thank you for sending the PR! If you changed any code, please provide us with clear instructions on how you verified your changes work. In other words, a test plan is *required*. Bonus points for screenshots and videos! Please read the Contribution Guidelines at https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md to learn more about contributing to React Native. Happy contributing! --> Closes #15147 Differential Revision: D5497883 Pulled By: javache fbshipit-source-id: a4b182084ffce87adac56013a178fbc5a7a5d1bb
- Loading branch information...
Showing with 2 additions and 6 deletions.