Skip to content

Commit d54d14f

Browse files
committed
Fix build
1 parent 2a6a654 commit d54d14f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/components/PreviewImages.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if (images?.length) {
3636

3737
<div class="preview-images">
3838
{images.map(({ src, description, resolvedPath, width, height }) => (
39-
<a href={src} class="glightbox" data-description={marked(description)} data-gallery="gallery">
39+
<a href={src} class="glightbox" data-description={description ? marked(description) : ""} data-gallery="gallery">
4040
<Image
4141
width={width}
4242
height={height}

0 commit comments

Comments
 (0)