Add key to ArticleItem list

This commit is contained in:
Gabe Kangas 2021-04-04 18:30:38 -07:00
parent 2c86fa34fd
commit a6fa16c1bf

View file

@ -57,7 +57,7 @@ export default function NewsFeed() {
<section className="news-feed form-module"> <section className="news-feed form-module">
<Title level={2}>News &amp; Updates from Owncast</Title> <Title level={2}>News &amp; Updates from Owncast</Title>
{feed.map(item => ( {feed.map(item => (
<ArticleItem {...item} /> <ArticleItem {...item} key={item.url} />
))} ))}
</section> </section>
); );