Mock nostr service globally in tests

This commit is contained in:
2026-04-22 09:03:38 +04:00
parent cd25c55bd7
commit 8ca7481a79
3 changed files with 101 additions and 1 deletions

View File

@@ -1034,7 +1034,7 @@ export default class MapComponent extends Component {
}
handleMapMove = async () => {
if (!this.mapInstance) return;
if (!this.mapInstance || this.isDestroying || this.isDestroyed) return;
const view = this.mapInstance.getView();
const center = toLonLat(view.getCenter());