Fix Select component usage by removing items prop and render functions.
Replace render function children with mapped ListItem elements and remove the unsupported items prop across all Select instances. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
1b347531dc
commit
28c9c7d3ec
7 files changed
+17
-19
No files matched your search
@@ -9,7 +9,6 @@ export function CurrencySelect({ value, onChange }) {
|
||||
|
||||
return (
|
||||
<Select
|
||||
items={CURRENCIES}
|
||||
label={formatMessage(labels.currency)}
|
||||
value={value}
|
||||
defaultValue={value}
|
||||
|
||||
Reference in new issue
Block a user