Improve
This commit is contained in:
parent
ea1e8a520d
commit
e34ba23f18
@ -15,7 +15,7 @@ import React, {
|
||||
useMap,
|
||||
} from "react-leaflet";
|
||||
|
||||
import 'leaflet/dist/leaflet.css';
|
||||
import "leaflet/dist/leaflet.css";
|
||||
import "./map.css";
|
||||
|
||||
import { apiGet } from "../apiHelpers";
|
||||
@ -128,7 +128,7 @@ import React, {
|
||||
setLat(map.current.getCenter().lat.toFixed(4));
|
||||
setZoom(map.current.getZoom().toFixed(2));
|
||||
});
|
||||
});
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div
|
||||
@ -207,4 +207,3 @@ import React, {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user