Skip to content

Commit

Permalink
fix(filter): unique key prop warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Hzy0913 authored and liujuping committed Sep 2, 2022
1 parent 70fb830 commit 3fe6e41
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/plugin-outline-pane/src/views/filter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
))}
Expand Down

0 comments on commit 3fe6e41

Please sign in to comment.