Elements: add key for Radio options
This commit is contained in:
parent
8d1d3fed7c
commit
85cc8f16e6
@ -33,7 +33,9 @@ export default function Radio({
|
||||
>
|
||||
<Space {...spaceProps}>
|
||||
{options.map((option) => (
|
||||
<AntRadio value={option.value}>{option.label}</AntRadio>
|
||||
<AntRadio key={option.value} value={option.value}>
|
||||
{option.label}
|
||||
</AntRadio>
|
||||
))}
|
||||
</Space>
|
||||
</AntRadio.Group>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user