Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: warning when a non-boolean values was used to set checked prop of a SwitchInput component #3276

Merged
merged 2 commits into from
Sep 27, 2024

Commits on Sep 27, 2024

  1. fix: warning when a non-boolean values was used to setchecked prop …

    …of SwitchInput component
    
    The problem was that in the useEffect hook the plain value was used without validation like in useState
    rhumbertgz committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    4bd1426 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5dd03f View commit details
    Browse the repository at this point in the history