This commit is contained in:
Jeremy Zimmerman 2022-12-01 14:38:41 -05:00
parent 07a01cd2f8
commit a575ca628d

View file

@ -21,9 +21,10 @@ export function fetchCmsContentForPage(issPage) {
} }
} }
); );
} }
function processPageData(response) { // Support method for processing the page data from the CMS call.
function processPageData(response) {
const pageDataFromCms = {}; const pageDataFromCms = {};
response.data.Result.forEach((widget) => { response.data.Result.forEach((widget) => {
@ -52,7 +53,7 @@ export function fetchCmsContentForPage(issPage) {
}); });
return pageDataFromCms; return pageDataFromCms;
} }
// Parent function for processWidgetItemForReplacement. This will loop through the parent // Parent function for processWidgetItemForReplacement. This will loop through the parent
// object and pass any objects that need additional processing to the processWidgetItemForReplacement function. // object and pass any objects that need additional processing to the processWidgetItemForReplacement function.