From ed8f457eed9f5b0e09c2386b59521e1b57ad4a0a Mon Sep 17 00:00:00 2001
From: IzaacAyelin <47495047+IzaacAyelin@users.noreply.github.com>
Date: Wed, 17 Apr 2024 09:25:49 +0300
Subject: [PATCH] add keys in image renderer (#1209)
---
.../gallery/src/components/item/imageRenderer.js | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/packages/gallery/src/components/item/imageRenderer.js b/packages/gallery/src/components/item/imageRenderer.js
index 6d2905b7ce..f12d4be77f 100644
--- a/packages/gallery/src/components/item/imageRenderer.js
+++ b/packages/gallery/src/components/item/imageRenderer.js
@@ -13,11 +13,19 @@ const ImageRenderer = (props) => {
id={`multi_picture_${props.id}`}
key={`multi_picture_${props.id}`}
>
- {props.src.map((src) =>
+ {props.src.map((src, index) =>
src.forPrinting ? (
-
+
) : (
-
+
)
)}