From 9414e25d828660af69d357742cf0d85504cea6c6 Mon Sep 17 00:00:00 2001 From: vaporvee Date: Wed, 30 Oct 2024 11:42:00 +0100 Subject: [PATCH] add sanity id to sanity images --- src/app/blog/[slug]/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/blog/[slug]/page.tsx b/src/app/blog/[slug]/page.tsx index ea6212c..054a6d3 100644 --- a/src/app/blog/[slug]/page.tsx +++ b/src/app/blog/[slug]/page.tsx @@ -55,6 +55,7 @@ export default async function PostPage(props: { params: PageParams }) { height={height} alt={value.altText || ' '} loading="lazy" + id={value._id} style={{ display: isInline ? 'inline-block' : 'block', aspectRatio: width / height,