From 6547146dc2750f075ba1f53f2afcc062b38252bf Mon Sep 17 00:00:00 2001 From: luna Date: Mon, 6 Jan 2025 22:32:39 +1030 Subject: [PATCH] fix: image rendering without size --- src/components/PostEmbed/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/PostEmbed/index.tsx b/src/components/PostEmbed/index.tsx index 5ddc14e..02f9afc 100644 --- a/src/components/PostEmbed/index.tsx +++ b/src/components/PostEmbed/index.tsx @@ -18,9 +18,10 @@ export const PostEmbed = ({ embed }: { embed?: BSkyPostEmbed | null }) => {
= 2 && 'grid grid-cols-2', 'gap-2')}> {embed.images.map((image) => ( {image.alt}= 2 && 'h-48', 'rounded-lg w-full object-cover'),