Fixes quirks with featured and related products. (#978)

This commit is contained in:
Michael Novotny
2023-04-21 11:19:08 -05:00
committed by GitHub
parent 7de3ae5583
commit 8ff670d7d6
4 changed files with 4 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ function ThreeItemGridItem({
export async function ThreeItemGrid() {
// Collections that start with `hidden-*` are hidden from the search page.
const homepageItems = await getCollectionProducts('hidden-homepage-featured-items', 3);
const homepageItems = await getCollectionProducts('hidden-homepage-featured-items');
if (!homepageItems[0] || !homepageItems[1] || !homepageItems[2]) return null;