mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 00:15:44 +01:00
fix react error
This commit is contained in:
committed by
René Pfeuffer
parent
fd7f28fc3f
commit
6c16b74488
@@ -176,7 +176,13 @@ const ChangesetAuthor: FC<Props> = ({ changeset }) => {
|
|||||||
authorLine.push(...extensions);
|
authorLine.push(...extensions);
|
||||||
}
|
}
|
||||||
|
|
||||||
return <CommaSeparatedList>{authorLine}</CommaSeparatedList>;
|
return (
|
||||||
|
<CommaSeparatedList>
|
||||||
|
{authorLine.map((line, index) => (
|
||||||
|
<React.Fragment key={index}>{line}</React.Fragment>
|
||||||
|
))}
|
||||||
|
</CommaSeparatedList>
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default ChangesetAuthor;
|
export default ChangesetAuthor;
|
||||||
|
|||||||
Reference in New Issue
Block a user