Skip to content

Commit 3121a73

Browse files
authored
Remove unnecessary keys
1 parent 6a6a2bf commit 3121a73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/material-ui/src/Rating/Rating.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,14 +250,14 @@ function RatingItem(props) {
250250

251251
if (readOnly) {
252252
return (
253-
<span key={itemValue} {...labelProps}>
253+
<span {...labelProps}>
254254
{container}
255255
</span>
256256
);
257257
}
258258

259259
return (
260-
<React.Fragment key={itemValue}>
260+
<React.Fragment>
261261
<RatingLabel
262262
styleProps={{ ...styleProps, emptyValueFocused: undefined }}
263263
htmlFor={id}

0 commit comments

Comments
 (0)