From bbb5efeb72cf2bae7c86bfa184c678560efa621a Mon Sep 17 00:00:00 2001 From: Hunter Date: Fri, 30 Oct 2026 23:30:02 -0400 Subject: [PATCH] small bug --- components/BlogPostCard.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/BlogPostCard.tsx b/components/BlogPostCard.tsx index 0981ee8..b5cd0f7 100644 --- a/components/BlogPostCard.tsx +++ b/components/BlogPostCard.tsx @@ -47,6 +47,7 @@ export default function BlogPostCard({ post, visible }: Props) { } function coverImageComponent() { + if (!post.images || post.images.length === 0) return null; const image = post.images![0]; return (