You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.
For the latter, you wouldn't, because PropTypes.potato is undefined. Try specifying a propType that's actually invalid but exists, like PropTypes.number when it's a boolean?
@ljharb Sorry, but when I gave the example of PropTypes.potato. It refers if I try to change to any other type, the same problem occurs, even if I use something like PropTypes.number 😆
We have an array of objects and when try to validade the shape of the object inside that array, it seems to ignore that validation.
if we change PropTypes.bool in the sample above for PropTypes.potato, like below:
We don't receive any kind of message about the error.
The text was updated successfully, but these errors were encountered: