fix: incomplete dynamic imports (#23217)

This commit is contained in:
Min Idzelis
2025-10-27 08:45:30 -04:00
committed by GitHub
parent 3f03a88767
commit 6bb1a9e083
8 changed files with 69 additions and 49 deletions

View File

@@ -17,7 +17,7 @@
<ModalBody>
<div class="flex flex-col w-full h-full gap-2 border border-gray-300 dark:border-light rounded-2xl">
<div class="h-[75vh] min-h-[300px] w-full">
{#await import('../components/shared-components/map/map.svelte')}
{#await import('$lib/components/shared-components/map/map.svelte')}
{#await delay(timeToLoadTheMap) then}
<!-- show the loading spinner only if loading the map takes too much time -->
<div class="flex items-center justify-center h-full w-full">