4
0
forked from crowetic/commerce

Change the language properly for the products

This commit is contained in:
Luis Alvarez 2020-10-25 19:12:43 -05:00
parent 0657b882cd
commit 4862dc6bbd

View File

@ -68,8 +68,7 @@ export default function Home({
(i) => bestSellingProducts[i] ?? products.shift()
).filter(nonNullable),
}
// Props from getStaticProps won't change
}, [])
}, [newestProducts, featuredProducts, bestSellingProducts])
return (
<div>