diff --git a/web/src/lib/components/shared-components/map/map.svelte b/web/src/lib/components/shared-components/map/map.svelte
index a884db55b9..956061b0b3 100644
--- a/web/src/lib/components/shared-components/map/map.svelte
+++ b/web/src/lib/components/shared-components/map/map.svelte
@@ -167,7 +167,11 @@
}}
>
{#if useLocationPin}
-
+
{:else}
{/if}
-
{#if $$slots.popup}
-
+
{/if}
+
{/await}