Skip to content

Commit

Permalink
Childs now have unique key in list
Browse files Browse the repository at this point in the history
  • Loading branch information
lupusA committed Sep 23, 2023
1 parent 6f8df9a commit 856a5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PoliciesTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class PoliciesTable extends Component {
}
for (let pol in policies.policy) {
if (!isEmpty(policies.policy[pol])) {
bits.push(<><Badge className="policy-badge">{pol}</Badge></>);
bits.push(<Badge className="policy-badge" key={pol}>{pol}</Badge>);
}
}
return bits;
Expand Down

0 comments on commit 856a5fb

Please sign in to comment.