From 5661820b3f6020c31f988f2f1f7c3ba7b18d158c Mon Sep 17 00:00:00 2001 From: samshara Date: Thu, 4 Jan 2024 12:42:51 +0545 Subject: [PATCH] fix: remove unnecessary items --- src/views/CountryNsOverviewActivities/Map/index.tsx | 7 ------- src/views/CountryNsOverviewCapacity/i18n.json | 2 +- .../styles.module.css | 1 - .../styles.module.css | 1 - src/views/CountryProfileRiskWatch/i18n.json | 3 +-- src/views/CountryProfileRiskWatch/index.tsx | 10 ---------- 6 files changed, 2 insertions(+), 22 deletions(-) diff --git a/src/views/CountryNsOverviewActivities/Map/index.tsx b/src/views/CountryNsOverviewActivities/Map/index.tsx index fffdcc76c..843487af6 100644 --- a/src/views/CountryNsOverviewActivities/Map/index.tsx +++ b/src/views/CountryNsOverviewActivities/Map/index.tsx @@ -437,13 +437,6 @@ function CountryThreeWNationalSocietyProjectsMap(props: Props) { coordinates={clickedPointProperties.lngLat} onCloseButtonClick={handlePointClose} heading={clickedPointProperties.countryName} - headerDescription={( - i.modified_at)} - label="Last Updated" - // valueType="date" - /> - )} childrenContainerClassName={styles.mapPopupContent} > {(clickedPointProjectsResponsePending diff --git a/src/views/CountryNsOverviewCapacity/i18n.json b/src/views/CountryNsOverviewCapacity/i18n.json index 6faf55a54..8042c7e66 100644 --- a/src/views/CountryNsOverviewCapacity/i18n.json +++ b/src/views/CountryNsOverviewCapacity/i18n.json @@ -9,6 +9,6 @@ "perStartPerProcess": "Start PER Process", "perViewLink": "View", "nSOverviewCapacityDescription": "The following are various processes and assessment that the NS has done with IFRC that address National Society development, capacity, preparedness, and others.", - "nsOverviewCapacityLink": "IFRC Evaluations Database", + "nsOverviewCapacityLink": "IFRC Evaluations Database" } } diff --git a/src/views/CountryNsOverviewStrategicPriorities/styles.module.css b/src/views/CountryNsOverviewStrategicPriorities/styles.module.css index 54c27bcb8..056698bdf 100644 --- a/src/views/CountryNsOverviewStrategicPriorities/styles.module.css +++ b/src/views/CountryNsOverviewStrategicPriorities/styles.module.css @@ -2,7 +2,6 @@ display: flex; flex-direction: column; gap: var(--go-ui-spacing-2xl); - /* padding: var(--go-ui-spacing-2xl) 0; */ .per-components { display: grid; diff --git a/src/views/CountryOngoingActivitiesThreeWProjects/styles.module.css b/src/views/CountryOngoingActivitiesThreeWProjects/styles.module.css index a9f17d4c4..882832f18 100644 --- a/src/views/CountryOngoingActivitiesThreeWProjects/styles.module.css +++ b/src/views/CountryOngoingActivitiesThreeWProjects/styles.module.css @@ -2,7 +2,6 @@ display: flex; flex-direction: column; gap: var(--go-ui-spacing-2xl); - /* padding: var(--go-ui-spacing-2xl) 0; */ .content { display: grid; diff --git a/src/views/CountryProfileRiskWatch/i18n.json b/src/views/CountryProfileRiskWatch/i18n.json index 553a7d607..cb881e4a7 100644 --- a/src/views/CountryProfileRiskWatch/i18n.json +++ b/src/views/CountryProfileRiskWatch/i18n.json @@ -7,7 +7,6 @@ "eapHeading": "Early Action Protocols (EAPs)", "eapDownloadButtonLabel": "Download the EAP", "eapDescription": "EAPs are a formal plan that guide timely and effective implementation of early actions for extreme weather events, based on pre-agreed triggers.", - "riskWatchDescription": "The following dataset displays information about the modeled impact of specific forecasted or detected natural hazards.", - "riskWatchSubmitDREF": "Submit a DREF" + "riskWatchDescription": "The following dataset displays information about the modeled impact of specific forecasted or detected natural hazards." } } diff --git a/src/views/CountryProfileRiskWatch/index.tsx b/src/views/CountryProfileRiskWatch/index.tsx index aa3727f3b..7b779a89d 100644 --- a/src/views/CountryProfileRiskWatch/index.tsx +++ b/src/views/CountryProfileRiskWatch/index.tsx @@ -118,16 +118,6 @@ export function Component() { - {strings.riskWatchSubmitDREF} - - )} > {pendingImminentEventCounts && (