diff --git a/web-components/src/components/cards/ProjectImpactCard/ProjectImpactCard.tsx b/web-components/src/components/cards/ProjectImpactCard/ProjectImpactCard.tsx index e79ff66448..eff9d09b42 100644 --- a/web-components/src/components/cards/ProjectImpactCard/ProjectImpactCard.tsx +++ b/web-components/src/components/cards/ProjectImpactCard/ProjectImpactCard.tsx @@ -93,11 +93,7 @@ export default function ProjectImpactCard({ {description && ( - {typeof description === 'string' ? ( - description - ) : ( - - )} + {description} )} diff --git a/web-marketplace/src/pages/CreditClassDetails/CreditClassDetails.utils.ts b/web-marketplace/src/pages/CreditClassDetails/CreditClassDetails.utils.ts index 3e29a40e7f..1f1ef9da5d 100644 --- a/web-marketplace/src/pages/CreditClassDetails/CreditClassDetails.utils.ts +++ b/web-marketplace/src/pages/CreditClassDetails/CreditClassDetails.utils.ts @@ -111,8 +111,7 @@ const normalizeImpact = ({ sdgs, }: NormalizeImpactInput) => ({ name: impact?.['schema:name'] || sanityImpact?.name, - description: - projectImpact?.['schema:description'] || sanityImpact?.descriptionRaw, + description: projectImpact?.['schema:description'], imgSrc: getSanityImgSrc(sanityImpact?.image) || '/svg/default-impact.svg', sdgs: getSdgsImages({ sdgs: sanityImpact?.sdgs || sdgs }), standard: getSanityImgSrc(sanityImpact?.standard),