diff --git a/src/components/Map/Map.tsx b/src/components/Map/Map.tsx index 195ebbed..28e66751 100644 --- a/src/components/Map/Map.tsx +++ b/src/components/Map/Map.tsx @@ -6,14 +6,7 @@ import { useEffect, useRef, useState } from 'react'; import { GeoJSON as LeafletGeoJSON, MapContainer, Pane, SVGOverlay, TileLayer } from 'react-leaflet'; import BackToGlobalButton from '@/components/Map/BackToGlobalButton'; -import { - countryBaseStyle, - countryBorderStyle, - disputedAreaStyle, - MAP_MAX_ZOOM, - MAP_MIN_ZOOM, - oceanBounds, -} from '@/domain/constant/map/Map'; +import { disputedAreaStyle, MAP_MAX_ZOOM, MAP_MIN_ZOOM, oceanBounds } from '@/domain/constant/map/Map'; import { useSelectedAlert } from '@/domain/contexts/SelectedAlertContext'; import { useSelectedCountryId } from '@/domain/contexts/SelectedCountryIdContext'; import { useSelectedMap } from '@/domain/contexts/SelectedMapContext'; @@ -109,18 +102,23 @@ export default function Map({ countries, disputedAreas, fcsData, alertData }: Ma + + + - + {/* - + */} {selectedMapType === GlobalInsight.FOOD && countries.features && ( <> {countries.features.map((country) => ( @@ -176,21 +174,18 @@ export default function Map({ countries, disputedAreas, fcsData, alertData }: Ma /> )} - + {/* - + */} - - - ); }