Gallery React key fix
This commit is contained in:
1 parent
853f155b66
commit
d941878cbe
1 file changed
+2
-1
@@ -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}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in new issue
Block a user