Skip to content

Commit 6b0804d

Browse files
committed
dont show image unless we have an image url
1 parent 73f4d93 commit 6b0804d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/lib/history/BlurHash.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@
7171
bind:this={canvas}
7272
></canvas>
7373
{/if}
74-
<img src={imageURL} alt="" aria-hidden="true" />
74+
{#if imageURL}
75+
<img src={imageURL} alt="" aria-hidden="true" />
76+
{/if}
7577

7678
<style>
7779
img {

0 commit comments

Comments
 (0)