From 9ce178ea5ec26b4a8aa222759fcbc10c5aab8794 Mon Sep 17 00:00:00 2001 From: iFixKart Dev Date: Tue, 17 Nov 2026 19:46:02 +0530 Subject: [PATCH] fix(admin): add no-store cache header to storefront-sections fetch --- app/(admin)/storefront-sections/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/(admin)/storefront-sections/page.tsx b/app/(admin)/storefront-sections/page.tsx index bee2b7e..7707bec 100644 --- a/app/(admin)/storefront-sections/page.tsx +++ b/app/(admin)/storefront-sections/page.tsx @@ -1051,7 +1051,7 @@ export default function StorefrontSectionsPage() { const headers: Record = {}; if (token) headers['Authorization'] = `Bearer ${token}`; - const res = await fetch(`${backendUrl}/api/v1/admin/storefront/content/all`, { headers }); + const res = await fetch(`${backendUrl}/api/v1/admin/storefront/content/all`, { headers, cache: 'no-store' }); if (res.ok) { const data = await res.json(); if (data && data.length > 0) {