Skip to content

Commit

Permalink
Remove unnecessary keys
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed May 31, 2021
1 parent 6a6a2bf commit 3121a73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/material-ui/src/Rating/Rating.js
Expand Up @@ -250,14 +250,14 @@ function RatingItem(props) {

if (readOnly) {
return (
<span key={itemValue} {...labelProps}>
<span {...labelProps}>
{container}
</span>
);
}

return (
<React.Fragment key={itemValue}>
<React.Fragment>
<RatingLabel
styleProps={{ ...styleProps, emptyValueFocused: undefined }}
htmlFor={id}
Expand Down

0 comments on commit 3121a73

Please sign in to comment.