fix image links

This commit is contained in:
hzrd149
2023-04-19 13:38:26 -05:00
parent 10dc835128
commit ad72d0130a

View File

@@ -29,9 +29,9 @@ export function embedImages(content: EmbedableContent, trusted = false) {
return (
<LightGallery plugins={[lgThumbnail, lgZoom]} licenseKey="1234-5678-9101-1121">
<a href={src} target="_blank">
<Link href={src} target="_blank" display="inline-block">
<ImageComponent src={thumbnail} cursor="pointer" maxW="30rem" />
</a>
</Link>
</LightGallery>
);
},