diff --git a/app/javascript/app/components/ndcs/lts-explore-map/lts-explore-map-component.jsx b/app/javascript/app/components/ndcs/lts-explore-map/lts-explore-map-component.jsx
index 1bddb439a..cc5aaac7c 100644
--- a/app/javascript/app/components/ndcs/lts-explore-map/lts-explore-map-component.jsx
+++ b/app/javascript/app/components/ndcs/lts-explore-map/lts-explore-map-component.jsx
@@ -151,8 +151,7 @@ function LTSExploreMap(props) {
handlePngDownloadModal,
pngSelectionSubtitle,
selectActiveDonutIndex,
- pngDownloadId,
- showEUCountriesCheckbox
+ pngDownloadId
} = props;
useEffect(() => {
selectActiveDonutIndex(0);
@@ -307,14 +306,12 @@ function LTSExploreMap(props) {
{renderMap({ isTablet })}
- {showEUCountriesCheckbox && (
- handleOnChangeChecked(!checked)}
- />
- )}
+ handleOnChangeChecked(!checked)}
+ />
{countryData && (
{
donutActiveIndex: getDonutActiveIndex(LTSWithSelection),
pngSelectionSubtitle: getPngSelectionSubtitle(LTSWithSelection),
locations: getLocations(LTSWithSelection),
- selectedLocations: getSelectedLocations(LTSWithSelection),
- showEUCountriesCheckbox: getShowEUCountriesCheckbox(LTSWithSelection)
+ selectedLocations: getSelectedLocations(LTSWithSelection)
};
};
diff --git a/app/javascript/app/components/ndcs/ndcs-explore-map/ndcs-explore-map-component.jsx b/app/javascript/app/components/ndcs/ndcs-explore-map/ndcs-explore-map-component.jsx
index 1c0ce7d71..6b5e625f5 100644
--- a/app/javascript/app/components/ndcs/ndcs-explore-map/ndcs-explore-map-component.jsx
+++ b/app/javascript/app/components/ndcs/ndcs-explore-map/ndcs-explore-map-component.jsx
@@ -176,8 +176,7 @@ function NDCSExploreMap(props) {
checked,
pngDownloadId,
secondCardSelectedTab,
- setSecondCardSelectedTab,
- showEUCountriesCheckbox
+ setSecondCardSelectedTab
} = props;
const tooltipParentRef = useRef(null);
@@ -362,14 +361,12 @@ function NDCSExploreMap(props) {
{renderMap({ isTablet })}
- {showEUCountriesCheckbox && (
- handleOnChangeChecked(!checked)}
- />
- )}
+ handleOnChangeChecked(!checked)}
+ />
{countryData && (
{
checked: getIsShowEUCountriesChecked(ndcsExploreWithSelection),
pngSelectionSubtitle: getPngSelectionSubtitle(ndcsExploreWithSelection),
locations: getLocations(ndcsExploreWithSelection),
- vulnerabilityData: getVulnerabilityData(ndcsExploreWithSelection),
- showEUCountriesCheckbox: getShowEUCountriesCheckbox(
- ndcsExploreWithSelection
- )
+ vulnerabilityData: getVulnerabilityData(ndcsExploreWithSelection)
};
};
const pngDownloadId = 'ndcs-explore-map';
diff --git a/app/javascript/app/components/ndcs/net-zero-map/net-zero-map-component.jsx b/app/javascript/app/components/ndcs/net-zero-map/net-zero-map-component.jsx
index 27a2eccc9..75b0b8ee9 100644
--- a/app/javascript/app/components/ndcs/net-zero-map/net-zero-map-component.jsx
+++ b/app/javascript/app/components/ndcs/net-zero-map/net-zero-map-component.jsx
@@ -148,8 +148,7 @@ function NetZeroMap(props) {
tooltipValues,
donutActiveIndex,
selectActiveDonutIndex,
- pngDownloadId,
- showEUCountriesCheckbox
+ pngDownloadId
} = props;
useEffect(() => {
selectActiveDonutIndex(0);
@@ -306,14 +305,12 @@ function NetZeroMap(props) {
text="The map reflects latest communication of each country. Explore which countries have adopted a net-zero target below and click on a country to see its climate profile."
/>
{renderMap({ isTablet })}
- {showEUCountriesCheckbox && (
- handleOnChangeChecked(!checked)}
- />
- )}
+ handleOnChangeChecked(!checked)}
+ />
{countryData && (
{
donutActiveIndex: getDonutActiveIndex(netZeroWithSelection),
pngSelectionSubtitle: getPngSelectionSubtitle(netZeroWithSelection),
selectedLocations: getSelectedLocations(netZeroWithSelection),
- locations: getLocations(netZeroWithSelection),
- showEUCountriesCheckbox: getShowEUCountriesCheckbox(netZeroWithSelection)
+ locations: getLocations(netZeroWithSelection)
};
};