Skip to content

Commit

Permalink
chore: hide tooltip for terrasos
Browse files Browse the repository at this point in the history
  • Loading branch information
blushi committed Nov 4, 2024
1 parent c7a0ae9 commit 5d4e468
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { IS_REGEN } from 'lib/env';
import { TranslatorType } from 'lib/i18n/i18n.types';
import { NormalizeProject } from 'lib/normalizers/projects/normalizeProjectsWithMetadata';

Expand All @@ -16,7 +17,7 @@ export const getCreditsTooltip = ({
}: Params): string | undefined => {
if (isSoldOut) return _(SOLD_OUT_TOOLTIP);
if (
!project?.complianceCredits &&
IS_REGEN &&
!project?.purchaseInfo?.sellInfo?.creditsAvailable &&
!project?.projectPrefinancing?.isPrefinanceProject
)
Expand Down

0 comments on commit 5d4e468

Please sign in to comment.