From 91e597eefb45e66e0ca4118c91ed2fee65352774 Mon Sep 17 00:00:00 2001 From: Florent Date: Tue, 19 Nov 2024 11:30:21 +0100 Subject: [PATCH] fix: remove color override for credibility cards on terrasos --- .../src/components/cards/CredibilityCard/CredibilityCard.tsx | 1 - .../src/components/organisms/DetailsSection/DetailsSection.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/web-components/src/components/cards/CredibilityCard/CredibilityCard.tsx b/web-components/src/components/cards/CredibilityCard/CredibilityCard.tsx index f49745bf7d..1a5709173c 100644 --- a/web-components/src/components/cards/CredibilityCard/CredibilityCard.tsx +++ b/web-components/src/components/cards/CredibilityCard/CredibilityCard.tsx @@ -1,5 +1,4 @@ import { Box } from '@mui/material'; -import { IS_REGEN } from 'lib/env'; import isString from '../../../utils/isString'; import { BlockContent } from '../../block-content'; diff --git a/web-marketplace/src/components/organisms/DetailsSection/DetailsSection.tsx b/web-marketplace/src/components/organisms/DetailsSection/DetailsSection.tsx index fe4ef46dfb..f449979146 100644 --- a/web-marketplace/src/components/organisms/DetailsSection/DetailsSection.tsx +++ b/web-marketplace/src/components/organisms/DetailsSection/DetailsSection.tsx @@ -135,7 +135,6 @@ export const DetailsSection: React.FC< title={card?.credibilityCard?.title as string} descriptionRaw={card?.credibilityCard?.descriptionRaw} icon={card?.credibilityCard?.icon?.asset?.url} - overrideIconColor={!IS_REGEN} claims={ card?.claims?.map(claim => ({ description: claim?.description as string,