Skip to content

Commit

Permalink
πŸ› Add key on carousel item #2598
Browse files Browse the repository at this point in the history
  • Loading branch information
millianapia committed Nov 12, 2024
1 parent fe551ed commit 423d80e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/core/Carousel/Carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export const Carousel = forwardRef<HTMLElement, CarouselProps>(function Carousel
return (
<CarouselIframeItem
className="pt-lg"
key={item.id}
key={(item as IFrameCarouselItemData)._key}
noOfSiblings={items.length}
displayMode={displayMode}
aria-label={ariaLabel}
Expand Down

0 comments on commit 423d80e

Please sign in to comment.