feature/IO-3499-React-19 Checkpoint

This commit is contained in:
Dave
2026-01-21 13:34:19 -05:00
parent 645b20bf8a
commit 803a811039

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