Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
fix(component): Fix PatternListContainer unique key error
Browse files Browse the repository at this point in the history
  • Loading branch information
petetnt authored and lkuechler committed Dec 22, 2017
1 parent 8abba7c commit 26750dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/component/container/pattern_list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ export class PatternListContainer extends React.Component<PatternListContainerPr
{items.map((props: PatternListContainerItemProps, index: number) => {
if (props.children) {
return (
<PatternList>
<PatternLabel key={index}>{props.value}</PatternLabel>
<PatternList key={index}>
<PatternLabel>{props.value}</PatternLabel>
{this.createList(props.children)}
</PatternList>
);
Expand Down

0 comments on commit 26750dd

Please sign in to comment.