Skip to content

Commit

Permalink
fix: update content
Browse files Browse the repository at this point in the history
  • Loading branch information
atrincas committed Jan 7, 2025
1 parent 9951483 commit d76fbb5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
7 changes: 1 addition & 6 deletions client/src/containers/overview/filters/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,7 @@ export default function ProjectsFilters() {
htmlFor="countryCode"
tooltip={{
title: "Country",
content: (
<p>
Select the country you want to filter by. You can select
multiple countries.
</p>
),
content: <p>Select the country you want to filter by.</p>,
}}
>
Country
Expand Down
6 changes: 0 additions & 6 deletions client/src/containers/projects/form/setup/constants.ts
Original file line number Diff line number Diff line change
@@ -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]:
Expand Down
6 changes: 1 addition & 5 deletions client/src/containers/projects/form/setup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d76fbb5

Please sign in to comment.