mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 19:38:05 +00:00
fix(filter): unique key prop warning
This commit is contained in:
parent
70fb8308f9
commit
3fe6e41536
@ -88,7 +88,11 @@ export default class Filter extends Component<IProps, IState> {
|
||||
onChange={this.handleOptionChange}
|
||||
>
|
||||
{FILTER_OPTIONS.map((op) => (
|
||||
<Checkbox id={op.value} value={op.value}>
|
||||
<Checkbox
|
||||
id={op.value}
|
||||
value={op.value}
|
||||
key={op.value}
|
||||
>
|
||||
{op.label}
|
||||
</Checkbox>
|
||||
))}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user