Skip to content

fix: changed proptypes boolean to bool#17

Open
Oluwatobi-beebittech wants to merge 1 commit intosml-mirror:masterfrom
Oluwatobi-beebittech:fix/prop-types
Open

fix: changed proptypes boolean to bool#17
Oluwatobi-beebittech wants to merge 1 commit intosml-mirror:masterfrom
Oluwatobi-beebittech:fix/prop-types

Conversation

@Oluwatobi-beebittech
Copy link

I encountered this error when using the textfield. On investigating, I realised it was the PropType declaration that reference boolean instead of bool.
Screenshot 2021-12-27 at 20 22 10

Therefore, I changed the proptype from PropTypes.boolean to PropTypes.bool.
This error shows up as a warning and not an interrupting error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant