From 5f29e6b0da11b046b760214177a424b2f0bcaa38 Mon Sep 17 00:00:00 2001 From: Leah Wagner Date: Sun, 24 Jan 2021 14:37:20 -0800 Subject: [PATCH] Remove comment about filter. Code removed so no longer needed. --- pages/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/index.tsx b/pages/index.tsx index d1c20a744..ef1c0a96e 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -44,7 +44,6 @@ export async function getStaticProps({ // We prefer to do the computation at buildtime/servertime const { featured, bestSelling } = (() => { // Create a copy of products that we can mutate - // Filter products that do not have images const products = [...newestProducts] // If the lists of featured and best selling products don't have enough // products, then fill them with products from the products list, this