diff --git a/src/components/InsidePostHog/Posts.tsx b/src/components/InsidePostHog/Posts.tsx index a0dab01f4e57..728f7eb14596 100644 --- a/src/components/InsidePostHog/Posts.tsx +++ b/src/components/InsidePostHog/Posts.tsx @@ -12,7 +12,7 @@ const FeaturedPostSkeleton = () => { return
} -const FeaturedPost = ({ attributes: { featuredImage, title, excerpt, post_category, slug } }) => { +const FeaturedPost = ({ attributes: { featuredImage, title, excerpt, post_category, slug } = {} }) => { return ( @@ -112,7 +112,7 @@ export default function Posts() { return (
- {isLoading ? : } + {isLoading ? : posts?.[0] ? : null} {isLoading ? (