Skip to content

Commit

Permalink
fix: selectors: adds null check to radio button onchange event (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkilgore-eightfold authored May 26, 2022
1 parent 2016516 commit 499c4f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const RadioGroupProvider = ({
e: SelectRadioButtonEvent
) => {
setCurrentRadioButton(value);
onChange(value, e);
onChange?.(value, e);
};

return (
Expand Down

0 comments on commit 499c4f5

Please sign in to comment.