Gallery React key fix

This commit is contained in:
tmshv committed 2017-05-25 22:37:24 +03:00
1 parent 853f155b66
commit d941878cbe
1 file changed
+2 -1
+2 -1
View File
@@ -61,8 +61,9 @@ function getGallery() {
<div className="content content_wide">
<Article title={meta.title}>
{
[...albumsByYear.entries()].map(([year, albums]) => (
[...albumsByYear.entries()].map(([year, albums], index) => (
<ACollection
key={index}
title={year}
albums={albums}
/>