diff --git a/pages/index.tsx b/pages/index.tsx index 3476f2cc7..2065bacc9 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -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 (