small bug
This commit is contained in:
@@ -47,6 +47,7 @@ export default function BlogPostCard({ post, visible }: Props) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function coverImageComponent() {
|
function coverImageComponent() {
|
||||||
|
if (!post.images || post.images.length === 0) return null;
|
||||||
const image = post.images![0];
|
const image = post.images![0];
|
||||||
return (
|
return (
|
||||||
<img
|
<img
|
||||||
|
|||||||
Reference in New Issue
Block a user