回答編集履歴

1

<div className="photo-box"> に key を追加。

2021/02/09 03:11

投稿

hoshi-takanori
hoshi-takanori

スコア7899

test CHANGED
@@ -94,7 +94,7 @@
94
94
 
95
95
  {filteredInfo1000.map((photo, index) =>
96
96
 
97
- <div className="photo-box">
97
+ <div key={photo.key} className="photo-box">
98
98
 
99
99
  <img src={photo.photo} className="photo-items" />
100
100