From 8cdfd5598db629ed43514498fba2c845b66085c3 Mon Sep 17 00:00:00 2001 From: Amritanshu Date: Fri, 18 Oct 2024 08:12:53 +0530 Subject: [PATCH] Refresh product to load --- src/app/(storefront)/products/[handle]/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/(storefront)/products/[handle]/page.tsx b/src/app/(storefront)/products/[handle]/page.tsx index f5d34b4..0f59a79 100644 --- a/src/app/(storefront)/products/[handle]/page.tsx +++ b/src/app/(storefront)/products/[handle]/page.tsx @@ -24,6 +24,7 @@ async function fetchProduct(handle: string, region: HttpTypes.StoreRegion | unde 'Content-Type': 'application/json', 'x-publishable-api-key': process.env.NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY as string, }, + next: { revalidate: 0 }, }, );