Jacob314/add radio button keys (#10083)

This commit is contained in:
Jacob Richman
2025-09-28 14:50:47 -07:00
committed by GitHub
parent 341f889ddb
commit 83f2c1d459
26 changed files with 263 additions and 112 deletions
@@ -27,7 +27,10 @@ export function ScopeSelector({
isFocused,
initialScope,
}: ScopeSelectorProps): React.JSX.Element {
const scopeItems = getScopeItems();
const scopeItems = getScopeItems().map((item) => ({
...item,
key: item.value,
}));
const initialIndex = scopeItems.findIndex(
(item) => item.value === initialScope,