From d76fbb5d73c4d96ea67b6e6360c920114c779998 Mon Sep 17 00:00:00 2001 From: atrincas Date: Tue, 7 Jan 2025 20:46:38 +0100 Subject: [PATCH] fix: update content --- client/src/containers/overview/filters/index.tsx | 7 +------ client/src/containers/projects/form/setup/constants.ts | 6 ------ client/src/containers/projects/form/setup/index.tsx | 6 +----- 3 files changed, 2 insertions(+), 17 deletions(-) diff --git a/client/src/containers/overview/filters/index.tsx b/client/src/containers/overview/filters/index.tsx index cfaa7995..73913fe2 100644 --- a/client/src/containers/overview/filters/index.tsx +++ b/client/src/containers/overview/filters/index.tsx @@ -200,12 +200,7 @@ export default function ProjectsFilters() { htmlFor="countryCode" tooltip={{ title: "Country", - content: ( -

- Select the country you want to filter by. You can select - multiple countries. -

- ), + content:

Select the country you want to filter by.

, }} > Country diff --git a/client/src/containers/projects/form/setup/constants.ts b/client/src/containers/projects/form/setup/constants.ts index 597b6b11..e8b4555e 100644 --- a/client/src/containers/projects/form/setup/constants.ts +++ b/client/src/containers/projects/form/setup/constants.ts @@ -1,11 +1,5 @@ -import { ACTIVITY } from "@shared/entities/activity.enum"; import { CARBON_REVENUES_TO_COVER } from "@shared/entities/custom-project.entity"; -export const ACTIVITIES_DESCRIPTIONS = { - [ACTIVITY.RESTORATION]: "TBD", - [ACTIVITY.CONSERVATION]: "TBD", -}; - export const CARBON_REVENUES_TO_COVER_DESCRIPTIONS = { [CARBON_REVENUES_TO_COVER.OPEX]: "Includes operating costs only", [CARBON_REVENUES_TO_COVER.CAPEX_AND_OPEX]: diff --git a/client/src/containers/projects/form/setup/index.tsx b/client/src/containers/projects/form/setup/index.tsx index 3a6c56c4..53c8a60e 100644 --- a/client/src/containers/projects/form/setup/index.tsx +++ b/client/src/containers/projects/form/setup/index.tsx @@ -20,10 +20,7 @@ import { queryKeys } from "@/lib/query-keys"; import { ACTIVITIES } from "@/containers/overview/filters/constants"; import ConservationProjectDetails from "@/containers/projects/form/setup/conservation-project-details"; -import { - ACTIVITIES_DESCRIPTIONS, - CARBON_REVENUES_TO_COVER_DESCRIPTIONS, -} from "@/containers/projects/form/setup/constants"; +import { CARBON_REVENUES_TO_COVER_DESCRIPTIONS } from "@/containers/projects/form/setup/constants"; import RestorationProjectDetails from "@/containers/projects/form/setup/restoration-project-detail"; import { @@ -314,7 +311,6 @@ export default function SetupProjectForm() { className="flex-1" label={activity.label} value={activity.value} - description={ACTIVITIES_DESCRIPTIONS[activity.value]} defaultChecked={ form.formState.defaultValues?.activity === activity.value