From b48a45bbc159319dbc9bbb3c2d489afcd5a970c0 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Thu, 26 Nov 2020 13:29:49 -0300 Subject: [PATCH] Blocking rendering for products --- pages/product/[slug].tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/product/[slug].tsx b/pages/product/[slug].tsx index 0348bdf45..ea5f8bf8b 100644 --- a/pages/product/[slug].tsx +++ b/pages/product/[slug].tsx @@ -51,8 +51,7 @@ export async function getStaticPaths({ locales }: GetStaticPathsContext) { return arr }, []) : products.map((product) => `/product${product.node.path}`), - // If your store has tons of products, enable fallback mode to improve build times! - fallback: false, + fallback: 'unstable_blocking', } }