diff --git a/app/components/map.gjs b/app/components/map.gjs index d320411..27fa73b 100644 --- a/app/components/map.gjs +++ b/app/components/map.gjs @@ -1088,6 +1088,7 @@ export default class MapComponent extends Component { const bbox = { minLat, minLon, maxLat, maxLon }; this.mapUi.updateBounds(bbox); await this.storage.loadPlacesInBounds(bbox); + if (this.isDestroying || this.isDestroyed) return; this.nostrData.loadPlacesInBounds(bbox); this.loadBookmarks(this.storage.placesInView);