mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-11-18 07:22:06 +00:00
fix: fix map rendering in react strict mode
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user