mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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.