From 25fff285322771e4425db1824b078612729c7002 Mon Sep 17 00:00:00 2001 From: Gianni Ferullo Date: Tue, 5 Nov 2024 11:20:09 -0500 Subject: [PATCH 1/2] move bottle data outside of picture --- packages/react-components/src/components/gif.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-components/src/components/gif.tsx b/packages/react-components/src/components/gif.tsx index 01cfadc7..65955623 100644 --- a/packages/react-components/src/components/gif.tsx +++ b/packages/react-components/src/components/gif.tsx @@ -295,8 +295,8 @@ const Gif = ({ alt={getAltText(gif)} onLoad={shouldShowMedia ? onImageLoad : () => {}} /> - {isAd && bottleData?.tags?.map((tag: string, index: number) => )} + {isAd && bottleData?.tags?.map((tag: string, index: number) => )} {Overlay && ( // only render the overlay on the client since it depends on shouldShowMedia From e73400ecd6f7f14558f8ff3f68aef746c9005829 Mon Sep 17 00:00:00 2001 From: Gianni Ferullo Date: Tue, 5 Nov 2024 11:20:44 -0500 Subject: [PATCH 2/2] changeset --- .changeset/two-shrimps-divide.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/two-shrimps-divide.md diff --git a/.changeset/two-shrimps-divide.md b/.changeset/two-shrimps-divide.md new file mode 100644 index 00000000..3a4df0cd --- /dev/null +++ b/.changeset/two-shrimps-divide.md @@ -0,0 +1,5 @@ +--- +'@giphy/react-components': minor +--- + +move bottle data outside of picture tag