From 3c20d2ca8d7a040435572bb94fe494e0ac86aeb4 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 19 Jul 2024 11:38:52 +0200 Subject: [PATCH] Fix unmerged commit --- src/UI/Map/MaplibreMap.svelte | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/UI/Map/MaplibreMap.svelte b/src/UI/Map/MaplibreMap.svelte index 3a6ae11d9..36f54c43a 100644 --- a/src/UI/Map/MaplibreMap.svelte +++ b/src/UI/Map/MaplibreMap.svelte @@ -97,7 +97,6 @@ onDestroy(async () => { -<<<<<<< HEAD await Utils.waitFor(100) requestAnimationFrame( () => { @@ -110,15 +109,6 @@ } } ) -======= - await Utils.waitFor(250) - try { - _map?.remove() - map = null - } catch (e) { - console.error("Could not destroy map") - } ->>>>>>> 6093ac3ea (Refactoring: rework image fetching code, improve nearby images UI. Fix #2026, #2027) })