From c969bb351b0e1f9c22abd2845cc65a9f647b4150 Mon Sep 17 00:00:00 2001 From: louai98 Date: Mon, 3 Jun 2024 15:59:34 +0200 Subject: [PATCH] add info box-2 --- src/Components/Layout/ControlInAfrica/ControlInAfricaMap.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Components/Layout/ControlInAfrica/ControlInAfricaMap.js b/src/Components/Layout/ControlInAfrica/ControlInAfricaMap.js index a10242f..ffbdfe5 100644 --- a/src/Components/Layout/ControlInAfrica/ControlInAfricaMap.js +++ b/src/Components/Layout/ControlInAfrica/ControlInAfricaMap.js @@ -266,6 +266,7 @@ class ControlInAfricaMap extends React.Component { this.setState({ selectedCountriesNames: [], selectedCountryColor: "yellow", + showInfoBox: false, }); const countryName = e.target.feature.properties.name; if (countryName === this.state.selectedCountry) {