diff --git a/components/home/index.js b/components/home/index.js index 5384cbab2..c32d0fe94 100644 --- a/components/home/index.js +++ b/components/home/index.js @@ -13,7 +13,10 @@ export async function HomeProduct({ product }) { const collections = product?.collections?.nodes; return ( - + {featuredImage?.altText} + product?.collections?.nodes + ?.map(collection => collection?.handle) + .includes('featured'); + //TODO: suspense export async function HomeProductsList({ collection }) { const products = await getCollectionProducts({ @@ -44,7 +52,14 @@ export async function HomeProductsList({ collection }) { ) : (