Merged in feature/IO-3499-React-19 (pull request #2861)

feature/IO-3499-React-19 Checkpoint
This commit is contained in:
Dave Richer
2026-01-21 18:37:11 +00:00

View File

@@ -386,11 +386,16 @@ const fetchContextData = async (templateObject, jsrAuth) => {
if (templateQueryToExecute) { if (templateQueryToExecute) {
const { data } = await client.query({ const { data } = await client.query({
query: gql(templateQueryToExecute), query: gql(templateQueryToExecute),
variables: { ...templateObject.variables } variables: { ...templateObject.variables },
fetchPolicy: "no-cache"
}); });
contextData = data; contextData = data;
} }
return { contextData, useShopSpecificTemplate, shopSpecificFolder }; return {
contextData,
useShopSpecificTemplate,
shopSpecificFolder
};
} }
return await generateTemplate(templateQueryToExecute, templateObject, useShopSpecificTemplate, shopSpecificFolder); return await generateTemplate(templateQueryToExecute, templateObject, useShopSpecificTemplate, shopSpecificFolder);