Fixed: Duplicated changelog lines

This commit is contained in:
Bogdan 2024-08-18 18:22:08 +03:00
parent da954dc31e
commit 6673d14edd

View file

@ -18,12 +18,14 @@ class UpdateChanges extends Component {
return null; return null;
} }
const uniqueChanges = [...new Set(changes)];
return ( return (
<div> <div>
<div className={styles.title}>{title}</div> <div className={styles.title}>{title}</div>
<ul> <ul>
{ {
changes.map((change, index) => { uniqueChanges.map((change, index) => {
return ( return (
<li key={index}> <li key={index}>
<InlineMarkdown data={change} /> <InlineMarkdown data={change} />