Skip to content

Commit

Permalink
fix: fix list should have a unique "key" prop.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Feb 28, 2022
1 parent 893084b commit 8083846
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Toolbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export function ToolbarItems(props: IToolbarProps) {
'button',
{
type: 'button',
key: idx,
disabled,
'data-name': item.name,
...item.buttonProps,
Expand Down

0 comments on commit 8083846

Please sign in to comment.