-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(MenuItemSelectable): remove duplicate onChange (#17967)
This is the same issue and fix that was previously addressed for `MenuItemRadioGroup` in #17736. Also added a test to cover this case, including checking the value passed to the `onChange` prop as the redundant `onChange` being removed here was passing the SyntheticEvent instead of the expected boolean. Co-authored-by: Nikhil Tomar <[email protected]> Co-authored-by: Anna Wen <[email protected]>
- Loading branch information
1 parent
c868a3d
commit 664408d
Showing
2 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters