Fixed: Duplicated changelog lines

pull/5018/head
Bogdan 3 months ago
parent da954dc31e
commit 6673d14edd

@ -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} />

Loading…
Cancel
Save