Remove comment about filter. Code removed so no longer needed.

This commit is contained in:
Leah Wagner 2021-01-24 14:37:20 -08:00
parent 719c7e03cc
commit 5f29e6b0da

View File

@ -44,7 +44,6 @@ export async function getStaticProps({
// We prefer to do the computation at buildtime/servertime // We prefer to do the computation at buildtime/servertime
const { featured, bestSelling } = (() => { const { featured, bestSelling } = (() => {
// Create a copy of products that we can mutate // Create a copy of products that we can mutate
// Filter products that do not have images
const products = [...newestProducts] const products = [...newestProducts]
// If the lists of featured and best selling products don't have enough // If the lists of featured and best selling products don't have enough
// products, then fill them with products from the products list, this // products, then fill them with products from the products list, this