diff --git a/src/components/Attachments/AttachmentCarousel/Pager/index.tsx b/src/components/Attachments/AttachmentCarousel/Pager/index.tsx index ae83ee0b00ed..8704584c3e18 100644 --- a/src/components/Attachments/AttachmentCarousel/Pager/index.tsx +++ b/src/components/Attachments/AttachmentCarousel/Pager/index.tsx @@ -137,24 +137,20 @@ function AttachmentCarouselPager({items, activeSource, initialPage, onPageSelect [], ); - const carouselItems = useMemo( - () => - items.map((item, index) => ( - - - - )), - [activePageIndex, activeSource, items, styles.flex1], - ); + const carouselItems = items.map((item, index) => ( + + + + )); return (