diff --git a/src/photo/PhotoLarge.tsx b/src/photo/PhotoLarge.tsx index 4397c6d2..b76db149 100644 --- a/src/photo/PhotoLarge.tsx +++ b/src/photo/PhotoLarge.tsx @@ -18,6 +18,8 @@ export default function PhotoLarge({ priority?: boolean prefetchShare?: boolean }) { + const tagsToShow = photo.tags.filter(t => t !== tag); + const renderMiniGrid = (children: JSX.Element) =>
{renderMiniGrid(<> - - {titleForPhoto(photo)} - - {photo.tags.length > 0 && - } +
+ + {titleForPhoto(photo)} + + {tagsToShow.length > 0 && + } +
{photo.make} {photo.model}