diff --git a/src/components/ListingPageItem.astro b/src/components/ListingPageItem.astro index 3e15094f..dc1f3f6e 100644 --- a/src/components/ListingPageItem.astro +++ b/src/components/ListingPageItem.astro @@ -6,7 +6,8 @@ interface ItemProps { title: string; } -const { date, description, excerpt, title } = Astro.props.item.item.data as ItemProps; +const { date, description, excerpt, title } = Astro.props.item.item + .data as ItemProps; const { slug } = Astro.props.item; --- @@ -15,7 +16,7 @@ const { slug } = Astro.props.item; { date && ( -