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"> <div className="content content_wide">
<Article title={meta.title}> <Article title={meta.title}>
{ {
[...albumsByYear.entries()].map(([year, albums]) => ( [...albumsByYear.entries()].map(([year, albums], index) => (
<ACollection <ACollection
key={index}
title={year} title={year}
albums={albums} albums={albums}
/> />