Fix looping over developer notes

This commit is contained in:
Justin Edmund 2023-08-30 23:17:26 -07:00
parent d8136d90c3
commit b92b2fad1d

View file

@ -110,8 +110,8 @@ const UpdatesPage = () => {
<h2>Developer notes</h2>
{updates('versions.1.2.0.notes')
.split('\n')
.map((item) => (
<p>{item}</p>
.map((item, i) => (
<p key={`note-${i}`}>{item}</p>
))}
<LinkItem
className="discord constrained update"