diff --git a/src/app/tag/hidden/[photoId]/page.tsx b/src/app/tag/hidden/[photoId]/page.tsx
index 796447c0..a68bf348 100644
--- a/src/app/tag/hidden/[photoId]/page.tsx
+++ b/src/app/tag/hidden/[photoId]/page.tsx
@@ -70,6 +70,7 @@ export default async function PhotoTagHiddenPage({
count,
dateRange,
tag: TAG_HIDDEN,
+ shouldShare: false,
}} />
);
}
diff --git a/src/photo/PhotoDetailPage.tsx b/src/photo/PhotoDetailPage.tsx
index c96b8bf2..38ec6027 100644
--- a/src/photo/PhotoDetailPage.tsx
+++ b/src/photo/PhotoDetailPage.tsx
@@ -25,6 +25,7 @@ export default function PhotoDetailPage({
indexNumber,
count,
dateRange,
+ shouldShare,
}: {
photo: Photo
photos: Photo[]
@@ -36,6 +37,7 @@ export default function PhotoDetailPage({
indexNumber?: number
count?: number
dateRange?: PhotoDateRange
+ shouldShare?: boolean
}) {
return (
@@ -110,6 +112,7 @@ export default function PhotoDetailPage({
prefetchRelatedLinks
showCamera={!camera}
showSimulation={!simulation}
+ shouldShare={shouldShare}
shouldShareTag={tag !== undefined}
shouldShareCamera={camera !== undefined}
shouldShareSimulation={simulation !== undefined}
diff --git a/src/photo/PhotoLarge.tsx b/src/photo/PhotoLarge.tsx
index b0331219..5937acd0 100644
--- a/src/photo/PhotoLarge.tsx
+++ b/src/photo/PhotoLarge.tsx
@@ -41,6 +41,7 @@ export default function PhotoLarge({
revalidatePhoto,
showCamera = true,
showSimulation = true,
+ shouldShare = true,
shouldShareTag,
shouldShareCamera,
shouldShareSimulation,
@@ -56,6 +57,7 @@ export default function PhotoLarge({
revalidatePhoto?: RevalidatePhoto
showCamera?: boolean
showSimulation?: boolean
+ shouldShare?: boolean
shouldShareTag?: boolean
shouldShareCamera?: boolean
shouldShareSimulation?: boolean
@@ -193,22 +195,24 @@ export default function PhotoLarge({
photo={photo}
className="text-medium"
/>
-
+ {shouldShare &&
+ }
}