\n {data.pages[0].totalNumberOfResults > 0 ? (\n \n ) : (\n \n )}\n
\n {data.pages[0].totalNumberOfResults ||\n data.pages.some(page => page.courses.length) ? (\n - \n {data.pages.map(page =>\n page.courses.map(\n ({\n courseUID,\n courseName,\n institutionSlug,\n institutionName,\n institutionProfile,\n departmentSlug,\n departmentName,\n departmentProfile,\n courseSlug,\n isFeatured,\n isNewFunding,\n qualifications,\n saved,\n startsJanuary,\n online,\n }) => (\n