From b84f4a68d9c6b54cdaa97aff5f72c30f07dc6764 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Thu, 9 Jun 2022 14:46:41 -0500 Subject: [PATCH] Prevent extra listing details runs --- src/components/video-listing.astro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/video-listing.astro b/src/components/video-listing.astro index ccdc852..a84b5c0 100644 --- a/src/components/video-listing.astro +++ b/src/components/video-listing.astro @@ -2,7 +2,7 @@ // Video Listing template for Benchmarks and Videos import { - ListingDetails + ensureListingDetails } from '~/helpers/listing-page.js' // import Devices from '~/src/components/listing-parts/devices.astro' @@ -14,7 +14,8 @@ const { listing } = Astro.props -const details = new ListingDetails( listing ) +const details = ensureListingDetails( listing ) + ---