From 91ad4d55d73a289fc4768c9c15a96fcb46dcd86a Mon Sep 17 00:00:00 2001 From: IzaacAyelin Date: Wed, 17 Apr 2024 09:13:58 +0300 Subject: [PATCH] add keys --- .../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 ? ( - + ) : ( - + ) )}