Skip to content

Commit

Permalink
dont shadow variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrichstark committed Apr 26, 2023
1 parent ae63709 commit 4f26bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-material/src/Select/SelectInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ const SelectInput = React.forwardRef(function SelectInput(props, ref) {

// Support autofill.
const handleChange = (event) => {
const child = childrenArray.find((child) => child.props.value === event.target.value);
const child = childrenArray.find((childItem) => childItem.props.value === event.target.value);

if (child === undefined) {
return;
Expand Down

0 comments on commit 4f26bc7

Please sign in to comment.