From 6a2f8856fe9dabd9655451337474bf6f7a41402e Mon Sep 17 00:00:00 2001 From: "(jenkins)" <(jenkins)> Date: Fri, 17 Apr 2026 00:13:29 +0100 Subject: [PATCH] Simplify popups --- frontend/src/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 37b6d63..1603106 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -401,6 +401,7 @@ const APP = () => { map.getSource('cities').setData(geojson); }; + const getCountryName = (code) => { try { const regionNames = new Intl.DisplayNames(['en'], { type: 'region' }); @@ -542,7 +543,6 @@ const APP = () => { if (nearestDist < 300 && nearestIdx !== currentCityIndexRef.current) { currentCityIndexRef.current = nearestIdx; setCurrentCityIndex(nearestIdx); - showCityPopup(cities[nearestIdx]); } if (currentProgress - lastFetchedDist > 2000) {