diff --git a/packages/ui/src/components/Img.svelte b/packages/ui/src/components/Img.svelte index 9e6a94375..25c744396 100644 --- a/packages/ui/src/components/Img.svelte +++ b/packages/ui/src/components/Img.svelte @@ -1,12 +1,9 @@ - - {#if placeholderUrl} - - {/if} - - {#if placeholderUrl}
(loaded = true)} + {sizes} + {src} + {srcset} /> - {#if loaded} -
- {:else} -
- -
+ + {#if !loaded} + {/if}
{:else}