Explorar el Código

fix: allow imageUrl to be undefined in BlogList props

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
rriecc hace 7 meses
padre
commit
ae260f4076
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      components/blog-list.tsx

+ 1 - 1
components/blog-list.tsx

@@ -8,7 +8,7 @@ import Image from "next/image";
 import { Blog } from "@/types/blog";
 
 interface BlogListProps {
-  blogPosts: (Blog & { imageUrl: string })[];
+  blogPosts: (Blog & { imageUrl: string | undefined })[];
 }
 
 export function BlogList({ blogPosts }: BlogListProps) {