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) {
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);