Fix deleting map not removing map from map view
This commit is contained in:
@@ -32,8 +32,7 @@ function MapInteraction({
|
||||
useEffect(() => {
|
||||
if (map === null) {
|
||||
setMapLoaded(false);
|
||||
}
|
||||
if (mapImageSourceStatus === "loaded") {
|
||||
} else if (mapImageSourceStatus === "loaded") {
|
||||
setMapLoaded(true);
|
||||
}
|
||||
}, [mapImageSourceStatus, map]);
|
||||
|
||||
Reference in New Issue
Block a user