Grafana-ui: Fix RadioButtonList component (#72804)

* Grafana-ui: Fix RadioButtonList component

* Use just an index as a key
This commit is contained in:
Alexander Zobnin 2023-08-03 15:56:44 +03:00 committed by GitHub
parent 27f57fe112
commit f8c44676df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ export function RadioButtonList<T>({
return (
<RadioButtonDot
key={itemId}
key={index}
id={itemId}
name={name}
label={option.label}