mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-06 15:18:48 +00:00
fix image key in image list item
This commit is contained in:
parent
c47d31703c
commit
ec27a07119
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ export default function StandardImageList() {
|
|||
<StyledEngineProvider injectFirst>
|
||||
<Box className="box">
|
||||
<Grid container spacing={1} className="image-list">
|
||||
{itemData.map((item) => (
|
||||
<ImageListItem key={item.img}>
|
||||
{itemData.map((item, index) => (
|
||||
<ImageListItem key={index}>
|
||||
<img
|
||||
srcSet={`${item.img}?w=164&h=164&fit=crop&auto=format&dpr=2 2x`}
|
||||
src={`${item.img}?w=164&h=164&fit=crop&auto=format`}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue