fix react error

This commit is contained in:
Eduard Heimbuch
2020-11-13 13:09:36 +01:00
committed by René Pfeuffer
parent fd7f28fc3f
commit 6c16b74488

View File

@@ -176,7 +176,13 @@ const ChangesetAuthor: FC<Props> = ({ changeset }) => {
authorLine.push(...extensions);
}
return <CommaSeparatedList>{authorLine}</CommaSeparatedList>;
return (
<CommaSeparatedList>
{authorLine.map((line, index) => (
<React.Fragment key={index}>{line}</React.Fragment>
))}
</CommaSeparatedList>
);
};
export default ChangesetAuthor;