dillon1000/react
Commit
Browse files Fix to sample code for href in ReactPropTypes
Error should be thrown in the previous condition is "not" meet. And the href propType is described as optional in the comment, but the null check was missing.
Changed paths1 file
First-parent comparisonsrc/core/ReactPropTypes.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…