Skip to content

Commit 680482c

Browse files
committed
refactor: make itemset appendix used as react key a bit more clear
HCRC-178
1 parent 3bfa25f commit 680482c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/carousel/components/CarouselSliderPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function CarouselSliderPage({
4343
'id' in itemSet && typeof itemSet.id === 'string'
4444
? itemSet.id
4545
: undefined,
46-
String(itemSetIndex),
46+
`itemSet-${itemSetIndex}-item`,
4747
)}
4848
className={styles.slideItem}
4949
style={{

0 commit comments

Comments
 (0)