diff --git a/components/photography/ImagesList.jsx b/components/photography/ImagesList.jsx index 6171fa9c4..973c1af8e 100644 --- a/components/photography/ImagesList.jsx +++ b/components/photography/ImagesList.jsx @@ -5,6 +5,7 @@ import { BlurPreview } from "@components/elements/BlurImage"; export function ListElement({ title, description, slug, publishedAt, index, preview, count }) { const prepared_preview = JSON.parse(preview.replaceAll("'", '"')); + return ( @@ -26,7 +27,7 @@ export function ListElement({ title, description, slug, publishedAt, index, prev {prepared_preview.map((image, index) => ( ))} - {count - prepared_preview.length > 0 &&

+{count - preview.length}

} + {count - prepared_preview.length > 0 &&

+{count - prepared_preview.length}

} )}

Show more