We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5284166 commit ff609a5Copy full SHA for ff609a5
src/components/RadioGroup/radioItems.js
@@ -14,11 +14,10 @@ export default function RadioItems(props) {
14
const key = `radio-${index}`;
15
const { description, disabled, ...rest } = option;
16
return (
17
- <StyledItemContainer data-id="input-radiogroup_container">
+ <StyledItemContainer key={key} data-id="input-radiogroup_container">
18
<Radio
19
// eslint-disable-next-line react/jsx-props-no-spreading
20
{...rest}
21
- key={key}
22
onChange={onChange}
23
checked={isChecked(option)}
24
ariaDescribedby={ariaDescribedby}
0 commit comments