From 803a811039dadf110cfaee9597524bc9d4de4677 Mon Sep 17 00:00:00 2001 From: Dave Date: Wed, 21 Jan 2026 13:34:19 -0500 Subject: [PATCH] feature/IO-3499-React-19 Checkpoint --- client/src/utils/RenderTemplate.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/client/src/utils/RenderTemplate.js b/client/src/utils/RenderTemplate.js index 82eadfa00..edac5659d 100644 --- a/client/src/utils/RenderTemplate.js +++ b/client/src/utils/RenderTemplate.js @@ -386,11 +386,16 @@ const fetchContextData = async (templateObject, jsrAuth) => { if (templateQueryToExecute) { const { data } = await client.query({ query: gql(templateQueryToExecute), - variables: { ...templateObject.variables } + variables: { ...templateObject.variables }, + fetchPolicy: "no-cache" }); contextData = data; } - return { contextData, useShopSpecificTemplate, shopSpecificFolder }; + return { + contextData, + useShopSpecificTemplate, + shopSpecificFolder + }; } return await generateTemplate(templateQueryToExecute, templateObject, useShopSpecificTemplate, shopSpecificFolder);