Skip to content

Commit

Permalink
move bottle data outside of picture
Browse files Browse the repository at this point in the history
  • Loading branch information
giannif committed Nov 5, 2024
1 parent 059f9ed commit 25fff28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-components/src/components/gif.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ const Gif = ({
alt={getAltText(gif)}
onLoad={shouldShowMedia ? onImageLoad : () => {}}
/>
{isAd && bottleData?.tags?.map((tag: string, index: number) => <BottleData src={tag} key={index} />)}
</picture>
{isAd && bottleData?.tags?.map((tag: string, index: number) => <BottleData src={tag} key={index} />)}
{Overlay && (
// only render the overlay on the client since it depends on shouldShowMedia
<RenderOnClient>
Expand Down

0 comments on commit 25fff28

Please sign in to comment.