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.