Fixed: Duplicated changelog lines

pull/2197/head
Bogdan 4 months ago
parent 379071f838
commit 8060a65ef6

@ -18,12 +18,14 @@ class UpdateChanges extends Component {
return null;
}
const uniqueChanges = [...new Set(changes)];
return (
<div>
<div className={styles.title}>{title}</div>
<ul>
{
changes.map((change, index) => {
uniqueChanges.map((change, index) => {
const checkChange = change.replace(/#\d{3,5}\b/g, (match, contents) => {
return `[${match}](https://github.com/Prowlarr/Prowlarr/issues/${match.substring(1)})`;
});

Loading…
Cancel
Save