fix(BUG Carte): error first load map

This commit is contained in:
Laurian-Dufrechou
2023-04-28 18:31:34 +02:00
parent 57f97b8e22
commit 6da8d263f6
3 changed files with 20 additions and 27 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import "@christopherpickering/react-leaflet-markercluster/dist/styles.min.css";
import MarkerBar from "./MarkerBar";
import "leaflet/dist/leaflet.css";
export default function MapComponent(props) {
export default function MapComponent(props: any) {
const { location, listBars } = props;
const toast = useToast({ position: "top" });