fix: fix map rendering in react strict mode

This commit is contained in:
2026-09-28 21:34:28 +02:00
parent ba7ae10c31
commit ac3db34079
5 changed files with 243 additions and 6 deletions
+2
View File
@@ -12,6 +12,8 @@ import "leaflet/dist/leaflet.css";
import { FaAngleDoubleDown } from "react-icons/fa";
import { LayerGroup, MapContainer, TileLayer } from "react-leaflet";
import MarkerClusterGroup from "react-leaflet-cluster";
import "react-leaflet-cluster/lib/assets/MarkerCluster.css";
import "react-leaflet-cluster/lib/assets/MarkerCluster.Default.css";
import { debouncedHoveredListIdAtom, mapBoundsAtom } from "@/atoms";
import { MapEvents } from "@/components/MapEvents";