diff --git a/site/multiDim/MultiDimDataPageContent.tsx b/site/multiDim/MultiDimDataPageContent.tsx index 71c3bcd0c28..a9d3ff7a5d7 100644 --- a/site/multiDim/MultiDimDataPageContent.tsx +++ b/site/multiDim/MultiDimDataPageContent.tsx @@ -83,7 +83,6 @@ const getDatapageDataV2 = async ( dateRange: variableMetadata.timespan ?? "", lastUpdated: lastUpdated, nextUpdate: nextUpdate, - relatedData: [], allCharts: [], relatedResearch: [], source: variableMetadata.source, @@ -251,18 +250,6 @@ export const MultiDimDataPageContent = ({ // item.url = "/coronavirus#coronavirus-country-profiles" // } - // const hasRelatedDataFeatured = datapageDataFromVar?.relatedData?.some( - // (data) => data.featured - // ) - // const hasRelatedDataNonFeatured = datapageDataFromVar?.relatedData?.some( - // (data) => !data.featured - // ) - // const relatedDataCategoryClasses = `related-data__category ${ - // hasRelatedDataFeatured && hasRelatedDataNonFeatured - // ? "related-data__category--grid span-cols-4 span-lg-cols-6 span-sm-cols-3" - // : "related-data__category--columns span-cols-8 span-lg-cols-12" - // } ` - const faqEntriesForView = useMemo(() => { return compact( datapageDataFromVar?.faqs?.flatMap( @@ -363,84 +350,6 @@ export const MultiDimDataPageContent = ({ )} - {!!datapageDataFromVar?.relatedData?.length && ( -