Skip to content

Commit c27b00d

Browse files
committed
add ImageCaption context to share button component
1 parent 96c68e9 commit c27b00d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dotcom-rendering/src/components/GalleryCaption.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export const GalleryCaption = ({
9494
format={format}
9595
pageId={pageId}
9696
webTitle={webTitle}
97-
context="ArticleMeta"
97+
context="ImageCaption"
9898
/>
9999
</Island>
100100
</figcaption>

dotcom-rendering/src/components/ShareButton.importable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type Props = {
2424

2525
type ButtonKind = 'native' | 'copy' | 'email';
2626

27-
type Context = 'ArticleMeta' | 'LiveBlock' | 'SubMeta';
27+
type Context = 'ArticleMeta' | 'LiveBlock' | 'SubMeta' | 'ImageCaption';
2828

2929
const sharedButtonStyles = (sizeXSmall: boolean) => css`
3030
transition: none;

0 commit comments

Comments
 (0)